KSC Open API  13.1
Kaspersky Security Center API description
VServers::SetPermissions ( int  lVServer,
params  pPermissions,
boolean  bProtection 
)

Set ACL for the specified virtual server.

Sets ACL for the specified virtual server

Parameters:
lVServer(int) virtual server id
pPermissions(params) ACL, see Permissions structure
bProtection(boolean) if true checks if the user does not denies access to the server to itself