TOKEN_ORIGIN structure (winnt.h)

The TOKEN_ORIGIN structure contains information about the origin of the logon session. This structure is used by the GetTokenInformation function.


typedef struct _TOKEN_ORIGIN {
  LUID OriginatingLogonSession;



Locally unique identifier (LUID) for the logon session. If the token passed to GetTokenInformation resulted from a logon using explicit credentials, such as passing name, domain, and password to the 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 AcceptSecurityContext, or a call to LogonUser with dwLogonType set to LOGON32_LOGON_NETWORK or LOGON32_LOGON_NETWORK_CLEARTEXT, then this member will be zero.


Minimum supported client None supported
Minimum supported server Windows Server 2003 [desktop apps only]
Header winnt.h (include Windows.h)

See also