Partager via


CTokenGroups::GetSidsAndAttributes

Retrieves the CSid objects and (optionally) the attributes belonging to the CTokenGroups object.

void GetSidsAndAttributes( 
   CSid::CSidArray * pSids, 
   CAtlArray< DWORD > * pAttributes = NULL 
) const throw(...);

Parameters

  • pSids
    Pointer to an array of CSid objects.

  • pAttributes
    Pointer to an array of DWORDs. If this parameter is omitted or NULL, the attributes are not retrieved.

Remarks

This method will enumerate all of the CSid objects contained in the CTokenGroups object and place them and (optionally) the attribute flags into array objects.

Requirements

Header: atlsecurity.h

See Also

Reference

CTokenGroups Class

CTokenGroups::LookupSid