Condividi tramite


struttura SE_TOKEN_USER (ntifs.h)

La struttura SE_TOKEN_USER contiene il SID utente valido di dimensioni massime che possono essere restituite da SeQueryInformationToken, GetTokenInformationo ZwQueryInformationToken con la classe di informazioni TokenUser . Questa struttura è adatta per l'allocazione dello stack.

Sintassi

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;

Membri

DUMMYUNIONNAME

DUMMYUNIONNAME.TokenUser

Specifica una struttura TOKEN_USER che rappresenta l'utente associato a un token di accesso.

DUMMYUNIONNAME.User

Specifica una struttura SID_AND_ATTRIBUTES che rappresenta l'utente associato al token di accesso.

DUMMYUNIONNAME2

DUMMYUNIONNAME2.Sid

Specifica una struttura di SID (Security Identifier) usata per identificare in modo univoco utenti o gruppi

DUMMYUNIONNAME2.Buffer[SECURITY_MAX_SID_SIZE]

Specifica una matrice di SECURITY_MAX_SID_SIZE per l'allocazione di memoria sufficiente per le dimensioni più grandi possibili del SID.

Fabbisogno

Requisito Valore
intestazione ntifs.h

Vedere anche

SID

SID_AND_ATTRIBUTES

TOKEN_USER