TOKEN_PRIMARY_GROUP - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntifs.h

typedef struct _TOKEN_PRIMARY_GROUP {
  PSID PrimaryGroup;
} TOKEN_PRIMARY_GROUP, *PTOKEN_PRIMARY_GROUP;

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntifs-_token_primary_group)

TOKEN_PRIMARY_GROUP structure

Description

The TOKEN_PRIMARY_GROUP structure specifies a group security identifier (SID) for an access token.

Members

PrimaryGroup

Pointer to a SID structure representing a group that will become the primary group of any objects created by a process using this access token. The SID must be one of the group SIDs already in the token.

See also

SID

SeQueryInformationToken

TOKEN_INFORMATION_CLASS

ZwQueryInformationToken

ZwSetInformationToken