TOKEN_USER structure

TOKEN_USER identifies the user associated with an access token.

Syntax

typedef struct _TOKEN_USER {
  SID_AND_ATTRIBUTES User;
} TOKEN_USER, *PTOKEN_USER;

Members

User

Specifies an SID_AND_ATTRIBUTES structure representing the user associated with the access token.

Remarks

Unlike TOKEN_GROUPS structures, TOKEN_USER structures cannot be passed to SeFilterToken. Nevertheless, it is possible to designate a user SID as a deny-only SID by specifying the user SID as one of the group SIDs in the TOKEN_GROUPS structure passed to SeFilterToken.

Requirements

   
Header ntifs.h (include Ntifs.h)

See Also

SID

SID_AND_ATTRIBUTES

SeFilterToken

SeQueryInformationToken

TOKEN_GROUPS

TOKEN_INFORMATION_CLASS

ZwQueryInformationToken

ZwSetInformationToken