Kaspersky Security Center Automation  10.0
HRESULT IKlAkTasks2::ProtectPassword ( [in] BSTR  bstrPassword,
[out, retval] VARIANT *  pProtectedPassword 
)

Encrypt an account password.

Encrypts account password to push as "klprts-TaskAccountPassword" attribute.

Parameters:
bstrPassword password to protect
Return values:
pProtectedPassword Encrypted password