ManagementAuthenticationProvider.AuthenticateUser(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.