KSC Open API
Kaspersky Security Center API description
DataProtectionApi::CheckPasswordSplPpc ( wstring  szwPassword)

Checks if Spl password policy compliance is enabled for the specified Administration Server and checks the specified password for compliance to the password policy.

Password Policy is specified below

Characters allowed

  • A – Z
  • a – z
  • 0 – 9
  • @ # $ % ^ & * - _ ! + = [ ] { } | \ : ‘ , . ? / ` ~ “ ( ) ;

Characters disallowed

  • Unicode characters
  • spaces
  • Cannot contain a dot character '.' immediately preceding the '@' symbol

Password restrictions

  • 8 characters minimum and 16 characters maximum
  • Must contain characters at least from any 3 of 4 groups mentioned in the section "Characters allowed"
Parameters:
szwPassword(wstring) The password to check.
Exceptions:
KLSTD::STDE_NOFUNCthe password does not comply with the password policy
*