CTokenGroups::Add
Adds a CSid or existing TOKEN_GROUPS structure to the CTokenGroups object.
void Add(
const CSid & rSid,
DWORD dwAttributes
) throw(...);
void Add(
const TOKEN_GROUPS & rTokenGroups
) throw(...);
Parameters
rSid
A CSid object.dwAttributes
The attributes to associate with the CSid object.rTokenGroups
A TOKEN_GROUPS structure.
Remarks
These methods add one or more CSid objects and their associated attributes to the CTokenGroups object.
Requirements
Header: atlsecurity.h