_TOKEN_GROUPS structure

TOKEN_GROUPS contains information about the group security identifiers (SID) in an access token.

Syntax

typedef struct _TOKEN_GROUPS {
  ULONG              GroupCount;
  SID_AND_ATTRIBUTES Groups[ANYSIZE_ARRAY];
} TOKEN_GROUPS, *PTOKEN_GROUPS;

Members

GroupCount

Specifies the number of groups in the access token.

Remarks

You can use SeFilterToken to designate one or more group SIDs as deny-only SIDs. Note that it is also possible to designate a user SID as a deny-only SID by specifying the user SID as one of the group SIDs in the TOKEN_GROUPS structure passed to SeFilterToken.

Requirements

   
Header ntifs.h (include Ntifs.h)

See Also

SID

SID_AND_ATTRIBUTES

SeFilterToken

SeQueryInformationToken

ZwQueryInformationToken

ZwSetInformationToken