KSC Open API
13.1
Kaspersky Security Center API description
|
Attributes of the permissions (paramParams) container are presented below.
"KLSPL_INHERITED" | paramBool | The parameter accepts true if the permission list is inherited. |
"KLSPL_POSSIBLE_RIGHTS" | paramInt | Bitmask of access rights available for editing. See Access rights for bits meanings. |
"KLSPL_PERMISSIONS" | paramArray | Permission list. Each entry of the array is a (paramParams) container that contains attributes KLSPLU_*. See the table below. |
Attributes of the permissions entry (paramParams) container are presented below.
"KLSPLU_SID" | paramString | Security ID (if OS account). |
"KLSPLU_NAME" | paramString | User or group name (if OS account). |
"KLSPLU_IS_GROUP" | paramBool | Is group (if OS account). |
"KLSPLU_AKUSER_ID" | paramInt | ID of AK user. |
"KLSPLU_MAY_WRITE" | paramBool | The entry may be modified. |
"KLSPLU_MAY_REMOVE" | paramBool | The entry may be removed. |
"KLSPLU_ALLOWMASK" | paramInt | Allow access mask. See Access rights for bits meanings. |
"KLSPLU_DENYMASK" | paramInt | Deny access mask. See Access rights for bits meanings. |
Example:
+--- (paramParams) +---KLSPL_INHERITED +---KLSPL_POSSIBLE_RIGHTS +---KLSPL_PERMISSIONS +---0 +---KLSPLU_SID +---KLSPLU_NAME +---KLSPLU_IS_GROUP +---KLSPLU_AKUSER_ID +---KLSPLU_MAY_WRITE +---KLSPLU_MAY_REMOVE +---KLSPLU_ALLOWMASK +---KLSPLU_DENYMASK +---1 ...