ManagementAuthenticationProvider.AuthenticateUser(String, String) Method

Definition

When overridden in a derived class, returns a value indicating whether a user's credentials are valid.

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

Parameters

userName
String

The user name.

password
String

The password.

Returns

true if the specified user name and password are valid; otherwise, false.

Applies to