KSC Open API
Kaspersky Security Center API description
SecurityPolicy3 Class Reference

Allows to manage security groups of internal users. Use srvview SplUserGroupSrvViewName to get information about relationship between users and groups. More...

List of all members.

Public Member Functions

int AddSecurityGroup (params pGrpParams, int lVsId)
 Creates a security group on a server.
 UpdateSecurityGroup (int lGrpId, params pGrpParams)
 Security group update.
 DeleteSecurityGroup (int lGrpId)
 Delete a security group.
 AddUserIntoSecurityGroup (int lUserId, int lGrpId)
 Adds user into a security group.
 DeleteUserFromSecurityGroup (int lUserId, int lGrpId)
 Removes user from a security group.
 MoveUserIntoOtherSecurityGroup (int lUserId, int lGrpIdFrom, int lGrpIdTo)
 Moves user from one security group into other security group.
 AddTrusteeIntoSecurityGroup (long llTrusteeId, int lGrpId)
 Adds internal or system user into a security group.
 DeleteTrusteeFromSecurityGroup (long llTrusteeId, int lGrpId)
 Removes user from a security group.
 MoveTrusteeIntoOtherSecurityGroup (long llTrusteeId, int lGrpIdFrom, int lGrpIdTo)
 Moves user from one security group into other security group.
 CloseUserConnections (int lUserId)
 Closes user connections.

Detailed Description

Allows to manage security groups of internal users. Use srvview SplUserGroupSrvViewName to get information about relationship between users and groups.

To use this class, a caller must has 'Change security rights' permissions (access mask 0x400) in User Permissions functional area on Administration server.