KSC Open API
Kaspersky Security Center API description
RspAdUaRelation::RelationUpdatePassword ( wstring  wstrUaHostId,
wstring  wstrAdDomain,
wstring  wstrLogin,
binary  pPassword 
)

Update password.

Updates the password Changes domain contollers list for the relation.

Parameters:
wstrUaHostIdGUID host name of the UA or empty string for Administration Server's Network Agent
wstrAdDomainActive Directory domain name in lowercase FQDN format, e.g. "mycompany.com"
wstrLoginlogin of the Active Directory user able to perform XDRO response
pPasswordActive Directory user password protected with DataProtectionApi::ProtectUtf8StringGlobally method
Note:
if wstrUaHostId is empty then current session must target the physical server otherwise exception STDE_NOTPERM is thrown.
Exceptions:
STDE_NOTPERMOperation is prohibited (e.g. wstrUaHostId does not have UA role, or an attempt to access physical server in context of virtual one, or this feature is disabled)