TOKEN_PRIMARY_GROUP structure (ntifs.h)

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

Syntax

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

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.

Requirements

Requirement Value
Header ntifs.h (include Ntifs.h)

See also

SID

SeQueryInformationToken

TOKEN_INFORMATION_CLASS

ZwQueryInformationToken

ZwSetInformationToken