Abstractions.WindowsApi.pInvokes.ValidateCredentials C# (CSharp) Method

ValidateCredentials() public static method

Attempts to validate the user's credentials for a local account using a pInvoke to LogonUser.
public static ValidateCredentials ( string username, string password ) : bool
username string The username
password string The password
return bool
        public static bool ValidateCredentials(string username, string password)
        {
            return ValidateCredentials(username, "", password);
        }

Same methods

pInvokes::ValidateCredentials ( string username, string domain, string password ) : bool