2.2.5.5 LSAPR_PRIVILEGE_SET
The LSAPR_PRIVILEGE_SET structure defines a set of privileges that belong to an account.
-
typedef struct _LSAPR_PRIVILEGE_SET { [range(0,1000)] unsigned long PrivilegeCount; unsigned long Control; [size_is(PrivilegeCount)] LSAPR_LUID_AND_ATTRIBUTES Privilege[*]; } LSAPR_PRIVILEGE_SET, *PLSAPR_PRIVILEGE_SET;
PrivilegeCount: This field contains the number of privileges.<28>
Control: This field contains bitmapped values that define the properties of the privilege set.
-
0
1
2
3
4
5
6
7
8
91
0
1
2
3
4
5
6
7
8
92
0
1
2
3
4
5
6
7
8
93
0
10
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
O
-
O: Valid for a set operation indicating that all specified privileges that are not already assigned are to be assigned.
-
All other bits SHOULD be set to zero when sent, and ignored on receipt.
Privilege: An array of LSAPR_LUID_AND_ATTRIBUTES structures. If the PrivilegeCount field has a value different than 0, this field MUST NOT be NULL.