KSC Open API  13.1
Kaspersky Security Center API description
params PolicyProfiles::EnumProfiles ( int  nPolicy,
int  nRevision 
)

Acquire profile list.

Returns array of all profiles for the specified policy

Parameters:
nPolicy(int) policy id
nRevision(int) policy revision id, zero means 'current policy'
Returns:
(params) container, each entry has Params type, the name is a profile name (see KLSSPOL_PRF_NAME), and the contents is profile data with following attributes:
  • KLSSPOL_PRF_ENABLED
  • KLSSPOL_PRF_PROTECTED
  • EXPRESSION

The profile data is returned in the policy format.

See also: