TOKEN_ORIGIN structure (ntifs.h)

The TOKEN_ORIGIN structure contains information about the origin of the logon session.

Syntax

typedef struct _TOKEN_ORIGIN {
  LUID OriginatingLogonSession;
} TOKEN_ORIGIN, *PTOKEN_ORIGIN;

Members

OriginatingLogonSession

The locally unique identifier (LUID) for the logon session. If the token resulted from a logon using explicit credentials, such as passing name, domain, and password to the user-mode LogonUser function, then this member will contain the ID of the logon session that created it. If the token resulted from network authentication, such as a call to the user-mode AcceptSecurityContext, or a call to the user-mode LogonUser function with dwLogonType set to LOGON32_LOGON_NETWORK or LOGON32_LOGON_NETWORK_CLEARTEXT, then this member will be zero.

Requirements

Requirement Value
Minimum supported client Windows Server 2003
Header ntifs.h (include Ntifs.h, FltKernel.h)

See also

ACL

LUID

LUID_AND_ATTRIBUTES

SECURITY_IMPERSONATION_LEVEL

SID

SeFilterToken

SeQueryInformationToken

SeTokenIsRestricted

TOKEN_INFORMATION_CLASS

ZwQueryInformationToken

ZwSetInformationToken