estructura SE_TOKEN_USER (ntifs.h)

La estructura de SE_TOKEN_USER contiene el SID de usuario válido de tamaño máximo que SeQueryInformationToken, GetTokenInformation o ZwQueryInformationToken puede devolver con la clase de información TokenUser . Esta estructura es adecuada para la asignación de pila.

Sintaxis

typedef struct _SE_TOKEN_USER {
  union {
    TOKEN_USER         TokenUser;
    SID_AND_ATTRIBUTES User;
  } DUMMYUNIONNAME;
  union {
    SID   Sid;
    UCHAR Buffer[SECURITY_MAX_SID_SIZE];
  } DUMMYUNIONNAME2;
} SE_TOKEN_USER, PSE_TOKEN_USER;

Miembros

DUMMYUNIONNAME

DUMMYUNIONNAME.TokenUser

Especifica una estructura de TOKEN_USER que representa al usuario asociado a un token de acceso.

DUMMYUNIONNAME.User

Especifica una estructura de SID_AND_ATTRIBUTES que representa al usuario asociado al token de acceso.

DUMMYUNIONNAME2

DUMMYUNIONNAME2.Sid

Especifica una estructura de identificador de seguridad (SID) que se usa para identificar de forma única usuarios o grupos.

DUMMYUNIONNAME2.Buffer[SECURITY_MAX_SID_SIZE]

Especifica una matriz de SECURITY_MAX_SID_SIZE para asignar suficiente memoria para el mayor tamaño posible de SID.

Requisitos

Requisito Valor
Header ntifs.h

Consulte también

SID

SID_AND_ATTRIBUTES

TOKEN_USER