KSC Open API  13.1
Kaspersky Security Center API description
HstAccessControl::SetScObjectAcl ( int  nObjId,
int  nObjType,
params  pAclParams,
boolean  bCheckCurrentUserAce 
)

Sets ACL for the specified object.

Parameters:
nObjId(int) object ID.
nObjType(int) object type. See Object types.
pAclParams(params) ACL. See ACL structure 2.
bCheckCurrentUserAce(boolean) if true, then it checks that the user does not reduce his or her rights.