Поделиться через


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(...);

Параметры

  • 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.

Заметки

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.

Требования

Header: atlsecurity.h

См. также

Основные понятия

CTokenGroups Class

CTokenGroups Members

CTokenGroups::LookupSid