TOKEN_PRIVILEGES

typedef struct _TOKEN_PRIVILEGES { /* tp */

DWORD PrivilegeCount;

LUID_AND_ATTRIBUTES Privileges[ANYSIZE_ARRAY];

} TOKEN_PRIVILEGES ;

The TOKEN_PRIVILEGES data structure is a token containing information about a set of privileges.

Members

PrivilegeCount

Indicates the number of privileges in the token.

Privileges

An array of LUID_AND_ATTRIBUTES data structures that describe the token's privileges.

The following privileges may be used with this parameter:

SE_PRIVILEGE_ENABLED_BY_DEFAULT  
SE_PRIVILEGE_ENABLED  
SE_PRIVILEGE_USED_FOR_ACCESS