TOKEN_GROUPS

typedef struct _TOKEN_GROUPS { /* tg */

DWORD GroupCount;

SID_AND_ATTRIBUTES Groups[ANYSIZE_ARRAY];

} TOKEN_GROUPS ;

The TOKEN_GROUPS data structure is a token containing information about a set of groups.

Members

GroupCount

Indicates the number of groups in the token.

Groups

Is an array of SID_AND_ATTRIBUTES structures that receives SIDs and corresponding attributes of the groups in the token.

The following attributes may be used with this parameter:

SE_GROUP_MANDATORY  
SE_GROUP_ENABLED_BY_DEFAULT  
SE_GROUP_ENABLED  
SE_GROUP_OWNER  
SE_GROUP_LOGON_ID