TOKEN_GROUPS
The TOKEN_GROUPS
structure contains information about a set of groups in an access token.
typedef struct _TOKEN_GROUPS { // tg
DWORD
GroupCount;
SID_AND_ATTRIBUTES Groups[ANYSIZE_ARRAY];
} TOKEN_GROUPS;
Members
GroupCount
Specifies the
number of groups in the access token.
Groups
Specifies an
array of SID_AND_ATTRIBUTES
The following attributes can be used with this parameter:
Value |
Meaning |
SE_GROUP_MANDATORY |
The group
cannot be disabled. |
SE_GROUP_ENABLED_BY_DEFAULT |
The group
is enabled by default. |
SE_GROUP_ENABLED |
The group
is enabled. |
SE_GROUP_OWNER |
The user is
the owner of the group or the SID can be assigned as the owner of the token
or objects. |
SE_GROUP_LOGON_ID |
The group
is a logon identifier. |
See Also