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


CTokenPrivileges::GetLuidsAndAttributes

Retrieves the locally unique identifiers (LUIDs) and attribute flags from the CTokenPrivileges object.

void GetLuidsAndAttributes(
   CLUIDArray * pPrivileges,
   CAttributes * pAttributes = NULL 
) const throw(...);

Параметры

  • pPrivileges
    Pointer to an array of LUID objects. CLUIDArray is a typedef defined as CAtlArray<LUID> CLUIDArray.

  • pAttributes
    Pointer to an array of DWORD objects. If this parameter is omitted or NULL, the attributes are not retrieved. CAttributes is a typedef defined as CAtlArray <DWORD> CAttributes.

Заметки

This method will enumerate all of the privileges contained in the CTokenPrivileges access token object and place the individual LUIDs and (optionally) the attribute flags into array objects.

Требования

Header: atlsecurity.h

См. также

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

CTokenPrivileges Class

CTokenPrivileges Members

CTokenPrivileges::GetNamesAndAttributes

CTokenPrivileges::LookupPrivilege

CTokenPrivileges::GetDisplayNames

LUID_AND_ATTRIBUTES