TOKEN_PRIVILEGES structure

TOKEN_PRIVILEGES contains information about a set of privileges for an access token.

Syntax

typedef struct _TOKEN_PRIVILEGES {
  ULONG               PrivilegeCount;
  LUID_AND_ATTRIBUTES Privileges[ANYSIZE_ARRAY];
} TOKEN_PRIVILEGES, *PTOKEN_PRIVILEGES;

Members

        `PrivilegeCount`

        Specifies the number of entries in the <b>Privileges</b> array.
    
    
        `Privileges`

        Specifies an array of LUID_AND_ATTRIBUTES structures. Each structure contains the LUID and attributes of a privilege.
    

Requirements

   
Header ntifs.h (include Ntifs.h)
## See Also

    <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/igpupvdev/ns-igpupvdev-_luid">LUID</a>

LUID_AND_ATTRIBUTES

SID

SeFilterToken

SeQueryInformationToken

TOKEN_INFORMATION_CLASS

ZwQueryInformationToken

ZwSetInformationToken