KSC Open API
Kaspersky Security Center API description
HstAccessControl::ModifyScVServerAcl ( int  nId,
params  pAclParams,
boolean  bCheckCurrentUserAce 
)

Modifies ACL for the specified virtual server.

Method updates only accounts, permissions, and roles that are presented in pAclParams. To delete ACE from ACL, add it to the 'delete' list.

Parameters:
nId(int) -1 means the current server ID. Otherwise, the parameter means a virtual server ID.
pAclParams(params) ACL. See ACL structure 2.
bCheckCurrentUserAce(boolean) if true, then it checks that the user does not reduce his or her rights.