VGSecurityRuntimeValidateUser Method (String, String, VGAuthenticationMode) |
Namespace: Novalys.VisualGuard.Security
public VGAuthenticationState ValidateUser( string username, string password, VGAuthenticationMode mode )
Exception | Condition |
---|---|
ArgumentNullException | username or password is null. |
ArgumentException | username is empty or contains invalid chars ('\', '/', '?', '*', '%', ';', ''', '"', ':', '|', '[', ']', '+', '=', ',').
or username or password is longer than 64 characters. |
VGConfigurationException | The configuration file is not valid
or A problem occurs during the connection to the repository.or The version of the repository or the version of the permissions is not supported by the application. |