TOKEN_PRIVILEGES structure (ntifs.h)

La structure TOKEN_PRIVILEGES contient des informations sur un ensemble de privilèges pour un jeton d’accès.

Syntaxe

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

Membres

PrivilegeCount

Spécifie le nombre d’entrées dans le tableau Privilèges .

Privileges[ANYSIZE_ARRAY]

Spécifie un tableau de structures LUID_AND_ATTRIBUTES . Chaque structure contient le LUID et les attributs d’un privilège.

Configuration requise

Condition requise Valeur
En-tête ntifs.h (include Ntifs.h)

Voir aussi

LUID

LUID_AND_ATTRIBUTES

SID

SeFilterToken

SeQueryInformationToken

TOKEN_INFORMATION_CLASS

ZwQueryInformationToken

ZwSetInformationToken