KSC Open API
Kaspersky Security Center API description
SecurityPolicy Class Reference

List of all members.

Public Member Functions

int AddUser (params pUser)
 Add new user.
 DeleteUser (int lUserId)
 Delete user.
 UpdateUser (int lUserId, params pUser)
 Modify existing user properties.
array GetUsers (int lUserId, int lVsId)
 Acquire existing user properties.
 ChangeUserPassword (int lUserId, wstring wstrOldPassword, wstring wstrNewPassword)
 Modify a password of the existing user.
boolean GetCurrentUserId ([out] int lUserId)
 Acquire current internal user id.
 GetCurrentUserId2 ([out] int nType,[out] int lUserId,[out] binary binSystemId,[out] wstring wstrDisplayName)
 Acquire current user id.
 UpdateTrustee (long llTrusteeId, params pUserData)
 Modifies properties of the specified user (either internal user or user and group from Active Directory); for internal groups use SecurityPolicy3.UpdateSecurityGroup;.
 SavePerUserData (params pUserData)
 Save or replace current user personal data.
params LoadPerUserData ()
 Get current user personal data.

Detailed Description

Allows to manage users and permissions.

See also:
Sample. Creates and finds an internal user.