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

Check if PKI account is valid.

Parameters:
wsAccountName(STRINT_T) PKI account's name
pAccountPwd(paramBinary) 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