KSC Open API  13.1
Kaspersky Security Center API description
int MdmCertCtrlApi::CheckPkiAccount ( wstring  wsAccountName,
binary  pAccountPwd 
)

Check if PKI account is valid.

Parameters:
wsAccountName(wstring) PKI account's name
pAccountPwd(binary) PKI account's password (encrypted)
Returns:
PKI account check result

PKI account check result

Check resultDescription
0OK
1Unknown error
2Wrong account
3Unable to logon
4Insufficient privileges