CTokenPrivileges::GetLuidsAndAttributes
Retrieves the locally unique identifiers (LUIDs) and attribute flags from the CTokenPrivileges object.
void GetLuidsAndAttributes(
CLUIDArray * pPrivileges,
CAttributes * pAttributes = NULL
) const throw(...);
Parameters
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.
Remarks
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.
Requirements
Header: atlsecurity.h
See Also
Reference
CTokenPrivileges::GetNamesAndAttributes
CTokenPrivileges::LookupPrivilege