KSC Open API  13.1
Kaspersky Security Center API description
PolicyProfiles::PutPriorities ( int  nPolicy,
array  pArrayOfNames 
)

Update profile priority array.

Updates the array of profile names, the profile with lesser index has greater priority. Non-existing profiles are ignored, unmentioned profiles are appended. Profile with KLSSPOL_PRF_PROTECTED set to true cannot be reordered.

Parameters:
nPolicy(int) policy id
pArrayOfNames(array) of paramString, each array entry is the profile name
See also: