_TOKEN_GROUPS_AND_PRIVILEGES structure

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

AuthenticationId

The locally unique identifier (LUID) of the authenticator of the token.

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.

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.

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.

Requirements

   
Header ntifs.h (include Ntifs.h)

See Also

ZwSetInformationToken

TOKEN_DEFAULT_DACL

TOKEN_SOURCE

ZwQueryInformationToken

TOKEN_USER

TOKEN_PRIMARY_GROUP

SeFilterToken

SECURITY_IMPERSONATION_LEVEL

SeQueryInformationToken

TOKEN_PRIVILEGES

SID_AND_ATTRIBUTES

ACL

LUID_AND_ATTRIBUTES

SID

TOKEN_TYPE

TOKEN_STATISTICS

TOKEN_OWNER

TOKEN_INFORMATION_CLASS

SeTokenIsRestricted

Send comments about this topic to Microsoft