This class is a wrapper for the TOKEN_GROUPS structure.
This class and its members cannot be used in applications that execute in the Windows Runtime.
Adds a CSid or existing TOKEN_GROUPS structure to the CTokenGroups object.
Deletes a CSid and its associated attributes from the CTokenGroups object.
Deletes all CSid objects and their associated attributes from the CTokenGroups object.
Returns the number of CSid objects and associated attributes contained in the CTokenGroups object.
Returns the size of the CTokenGroups object.
Retrieves a pointer to the TOKEN_GROUPS structure.
Retrieves the CSid objects and attributes belonging to the CTokenGroups object.
Retrieves the attributes associated with a CSid object.
An access token is an object that describes the security context of a process or thread and is allocated to each user logged onto a Windows NT or Windows 2000 system.
The CTokenGroups class is a wrapper for the TOKEN_GROUPS structure, containing information about the group security identifiers (SIDs) in an access token.
For an introduction to the access control model in Windows, see Access Control in the Windows SDK.