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 Privileges 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

LUID

LUID_AND_ATTRIBUTES

SID

SeFilterToken

SeQueryInformationToken

TOKEN_INFORMATION_CLASS

ZwQueryInformationToken

ZwSetInformationToken