KERB_INTERACTIVE_LOGON structure (ntsecapi.h)

The KERB_INTERACTIVE_LOGON structure contains information about an interactive logon session.

It is used by LsaLogonUser with the Kerberos security package using LOGON32_PROVIDER_WINNT50 or LOGON32_PROVIDER_DEFAULT.

Syntax

typedef struct _KERB_INTERACTIVE_LOGON {
  KERB_LOGON_SUBMIT_TYPE MessageType;
  UNICODE_STRING         LogonDomainName;
  UNICODE_STRING         UserName;
  UNICODE_STRING         Password;
} KERB_INTERACTIVE_LOGON, *PKERB_INTERACTIVE_LOGON;

Members

MessageType

KERB_LOGON_SUBMIT_TYPE value identifying the type of logon request being made. This member must be set to KerbInteractiveLogon.

LogonDomainName

UNICODE_STRING specifying the name of the target logon domain.

UserName

UNICODE_STRING specifying the user name.

Password

UNICODE_STRING specifying the user password. When you have finished using the password, remove the sensitive information from memory by calling SecureZeroMemory. For more information on protecting the password, see Handling Passwords.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header ntsecapi.h