SE_TOKEN_USER struttura (ntifs.h)
La struttura SE_TOKEN_USER contiene il SID utente valido di dimensioni massime che possono essere restituite da SeQueryInformationToken, GetTokenInformation o 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;
Members
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 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 la dimensione SID più grande possibile.
Requisiti
Requisito | Valore |
---|---|
Intestazione | ntifs.h |