estructura TOKEN_GROUPS_AND_PRIVILEGES (ntifs.h)

TOKEN_GROUPS_AND_PRIVILEGES contiene información sobre los identificadores de seguridad de grupo (SID) y los privilegios en un token de acceso.

Sintaxis

typedef struct _TOKEN_GROUPS_AND_PRIVILEGES {
  ULONG                SidCount;
  ULONG                SidLength;
  PSID_AND_ATTRIBUTES  Sids;
  ULONG                RestrictedSidCount;
  ULONG                RestrictedSidLength;
  PSID_AND_ATTRIBUTES  RestrictedSids;
  ULONG                PrivilegeCount;
  ULONG                PrivilegeLength;
  PLUID_AND_ATTRIBUTES Privileges;
  LUID                 AuthenticationId;
} TOKEN_GROUPS_AND_PRIVILEGES, *PTOKEN_GROUPS_AND_PRIVILEGES;

Miembros

SidCount

Especifica el número de SID en el token de acceso.

SidLength

Especifica la longitud, en bytes, necesaria para contener todos los SID de usuario y el SID de cuenta para el grupo.

Sids

Puntero a SID_AND_ATTRIBUTES estructuras que contienen un conjunto de SID y atributos correspondientes.

RestrictedSidCount

Especifica el número de SID restringidos incluidos en el token de acceso.

RestrictedSidLength

Especifica la longitud, en bytes, necesaria para contener todos los SID restringidos.

RestrictedSids

Puntero a SID_AND_ATTRIBUTES estructuras que contienen un conjunto de SID restringidos y atributos correspondientes.

PrivilegeCount

Especifica el número de privilegios incluidos en el token de acceso.

PrivilegeLength

Especifica la longitud, en bytes, necesaria para contener todos los privilegios.

Privileges

Puntero a LUID_AND_ATTRIBUTES estructuras que contienen un conjunto de privilegios.

AuthenticationId

Identificador único local (LUID) del autenticador del token.

Requisitos

Requisito Valor
Header ntifs.h (incluya Ntifs.h)

Consulte también

ACL

LUID_AND_ATTRIBUTES

SECURITY_IMPERSONATION_LEVEL

SID

SID_AND_ATTRIBUTES

SeFilterToken

SeQueryInformationToken

SeTokenIsRestricted

TOKEN_DEFAULT_DACL

TOKEN_INFORMATION_CLASS

TOKEN_OWNER

TOKEN_PRIMARY_GROUP

TOKEN_PRIVILEGES

TOKEN_SOURCE

TOKEN_STATISTICS

TOKEN_TYPE

TOKEN_USER

ZwQueryInformationToken

ZwSetInformationToken