The TOKEN_PRIMARY_GROUP structure specifies a group security identifier (SID) for an access token.
typedef struct _TOKEN_PRIMARY_GROUP { // tpg
PSID PrimaryGroup;
} TOKEN_PRIMARY_GROUP;
Windows NT: Requires version 3.1 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in winnt.h.
Access Control Overview, Access Control Structures, GetTokenInformation, SetTokenInformation, SID, TOKEN_CONTROL, TOKEN_DEFAULT_DACL, TOKEN_GROUPS, TOKEN_INFORMATION_CLASS, TOKEN_OWNER, TOKEN_PRIVILEGES, TOKEN_SOURCE, TOKEN_STATISTICS, TOKEN_TYPE, TOKEN_USER