TOKEN_GROUPS_AND_PRIVILEGES structure (ntifs.h)
TOKEN_GROUPS_AND_PRIVILEGES contains information about the group security identifiers (SIDs) and privileges in an access token.
Syntax
typedef struct _TOKEN_GROUPS_AND_PRIVILEGES {
ULONG SidCount;
ULONG SidLength;
PSID_AND_ATTRIBUTES Sids;
ULONG RestrictedSidCount;
ULONG RestrictedSidLength;
PSID_AND_ATTRIBUTES RestrictedSids;
ULONG PrivilegeCount;
ULONG PrivilegeLength;
PLUID_AND_ATTRIBUTES Privileges;
LUID AuthenticationId;
} TOKEN_GROUPS_AND_PRIVILEGES, *PTOKEN_GROUPS_AND_PRIVILEGES;
Members
SidCount
Specifies the number of SIDs in the access token.
SidLength
Specifies the length, in bytes, required to hold all of the user SIDs and the account SID for the group.
Sids
A pointer to SID_AND_ATTRIBUTES structures that contain a set of SIDs and corresponding attributes.
RestrictedSidCount
Specifies the number of the restricted SIDs included in the access token.
RestrictedSidLength
Specifies the length, in bytes, required to hold all of the restricted SIDs.
RestrictedSids
A pointer to SID_AND_ATTRIBUTES structures that contain a set of restricted SIDs and corresponding attributes.
PrivilegeCount
Specifies the number of privileges included in the access token.
PrivilegeLength
Specifies the length, in bytes, needed to hold all of the privileges.
Privileges
A pointer to LUID_AND_ATTRIBUTES structures that contain a set of privileges.
AuthenticationId
The locally unique identifier (LUID) of the authenticator of the token.
Requirements
Requirement | Value |
---|---|
Header | ntifs.h (include Ntifs.h) |