Visual Guard Class Library Documentation

VGUserNameValidator.Validate Method 

Authenticates the specified user name and password.

public override void Validate(
   String userName,
   String password
);

Parameters

userName
User Name
password
User Password

Exceptions

Exception Type Condition
SecurityTokenValidationException userName and password combination are not valid
ArgumentNullException userName or password is null
ArgumentException username is empty.

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.

See Also

VGUserNameValidator Class | Novalys.VisualGuard.Security.WebService Namespace