KSC Open API
Kaspersky Security Center API description
Policy Class Reference

Policies processing. More...

List of all members.

Public Member Functions

int AddPolicy (params pPolicyData)
 Create new policy.
 UpdatePolicyData (int nPolicy, params pPolicyData)
 Update policy attributes.
 DeletePolicy (int nPolicy)
 Delete policy.
int CopyOrMovePolicy (int nPolicy, int nNewGroupId, boolean bDeleteOrigin, params pExtraData)
 Copy or move policy.
boolean MakePolicyActive (int nPolicy, boolean bActive)
 Make policy active or inactive.
boolean MakePolicyRoaming (int nPolicy)
 Make policy roaming.
 SetOutbreakPolicies (params pData)
 Specify array of outbreak policies.
params GetOutbreakPolicies ()
 Acquire array of outbreak policies.
wstring GetPolicyContents (int nPolicy, int nRevisionId, int nLifeTime)
 Acquire policy contents.
 RevertPolicyToRevision (int nPolicy, int nRevisionId)
 Revert policy to its older version.
array GetPoliciesForGroup (int nGroupId)
 Obtain policies for specified group.
array GetEffectivePoliciesForGroup (int nGroupId)
 Obtain policies that affect the specified group.
params GetPolicyData (int nPolicy)
 Obtain policy data.
binary ExportPolicy (int lPolicy)
 Export policy to a blob.
int ImportPolicy (int lGroup, binary pData)
 Import policy from blob.

Detailed Description

Policies processing.

Allows to manage policies, change policies states and acquire policies data