Freigeben über


IAuthenticationExtension2.LogonUser(String, String, String) Method

Definition

Creates a logon session for the user associated with the given credentials.

public:
 bool LogonUser(System::String ^ userName, System::String ^ password, System::String ^ authority);
public bool LogonUser (string userName, string password, string authority);
abstract member LogonUser : string * string * string -> bool
Public Function LogonUser (userName As String, password As String, authority As String) As Boolean

Parameters

userName
String

The name associated with the credentials.

password
String

The password associated with the password.

authority
String

Optional. The specific authority to use to authenticate a user (for example, a Windows domain).

Returns

true if the user successfully authenticated; otherwise, false.

Applies to