Export (0) Print
Expand All
Expand Minimize

MSV1_0_INTERACTIVE_LOGON structure

The MSV1_0_INTERACTIVE_LOGON structure contains information about an interactive logon.

It is used by the LsaLogonUser function.

Syntax


typedef struct _MSV1_0_INTERACTIVE_LOGON {
  MSV1_0_LOGON_SUBMIT_TYPE MessageType;
  UNICODE_STRING           LogonDomainName;
  UNICODE_STRING           UserName;
  UNICODE_STRING           Password;
} MSV1_0_INTERACTIVE_LOGON;

Members

MessageType

MSV1_0_LOGON_SUBMIT_TYPE value that specifies the type of logon being requested. This member must be set to MsV1_0InteractiveLogon.

LogonDomainName

UNICODE_STRING that contains the name of the logon domain. The specified domain name must be a Windows domain or mixed domain that is trusted by this machine.

The Buffer member of the UNICODE_STRING structure must point to memory that is contiguous to the MSV1_0_INTERACTIVE_LOGON structure.

UserName

UNICODE_STRING that represents the user's account name. The name can be up to 255 bytes long. The name is treated as case-insensitive. The specified UserName must have an account in domain LogonDomainName.

The Buffer member of the UNICODE_STRING structure must point to memory that is contiguous to the MSV1_0_INTERACTIVE_LOGON structure.

Password

UNICODE_STRING that contains the user's plaintext password. The password may be up to 255 bytes long and contain any Unicode value. When you have finished using the password, clear it from memory by calling the SecureZeroMemory function. For more information on protecting the password, see Handling Passwords.

The Buffer member of the UNICODE_STRING structure must point to memory that is contiguous to the MSV1_0_INTERACTIVE_LOGON structure.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Ntsecapi.h

See also

MSV1_0_LOGON_SUBMIT_TYPE

 

 

Community Additions

ADD
Show:
© 2015 Microsoft