TOKEN_PRIVILEGES structure (ntifs.h)

The TOKEN_PRIVILEGES structure 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[ANYSIZE_ARRAY]

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

Requirements

Requirement Value
Header ntifs.h (include Ntifs.h)

See also

LUID

LUID_AND_ATTRIBUTES

SID

SeFilterToken

SeQueryInformationToken

TOKEN_INFORMATION_CLASS

ZwQueryInformationToken

ZwSetInformationToken