KSC Open API
Kaspersky Security Center API description
Permissions structure

Attributes of the permissions (paramParams) container are presented below.

"KLSPL_INHERITED"paramBoolThe parameter accepts true if the permission list is inherited.
"KLSPL_POSSIBLE_RIGHTS"paramIntBitmask of access rights available for editing. See Access rights for bits meanings.
"KLSPL_PERMISSIONS"paramArrayPermission 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"paramStringSecurity ID (if OS account).
"KLSPLU_NAME"paramStringUser or group name (if OS account).
"KLSPLU_IS_GROUP"paramBoolIs group (if OS account).
"KLSPLU_AKUSER_ID"paramIntID of AK user.
"KLSPLU_MAY_WRITE"paramBoolThe entry may be modified.
"KLSPLU_MAY_REMOVE"paramBoolThe entry may be removed.
"KLSPLU_ALLOWMASK"paramIntAllow access mask. See Access rights for bits meanings.
"KLSPLU_DENYMASK"paramIntDeny 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
            ...