// ntifs.h
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;
View the official Windows Driver Kit DDI reference
No description available.
The SE_TOKEN_USER structure holds the maximum-sized valid user SID that can be returned by SeQueryInformationToken, GetTokenInformation, or ZwQueryInformationToken with the TokenUser information class. This structure is suitable for stack allocation.
DUMMYUNIONNAME
DUMMYUNIONNAME.TokenUser
Specifies a TOKEN_USER structure representing the user associated with an access token.
DUMMYUNIONNAME.User
Specifies an SID_AND_ATTRIBUTES structure representing the user associated with the access token.
DUMMYUNIONNAME2
DUMMYUNIONNAME2.Sid
Specifies a Security Identifier (SID) structure used to uniquely identify users or groups
DUMMYUNIONNAME2.Buffer
Specifies an array of SECURITY_MAX_SID_SIZE for allocating enough memory for the largest possible SID size.