_TOKEN_PRIMARY_GROUP structure

TOKEN_PRIMARY_GROUP 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

   
Header ntifs.h (include Ntifs.h)

See Also

SID

SeQueryInformationToken

TOKEN_INFORMATION_CLASS

ZwQueryInformationToken

ZwSetInformationToken