Authenticates the specified user name and password.

Namespace:  Novalys.VisualGuard.Security.WebService
Assembly:  Novalys.VisualGuard.Security.WebService (in Novalys.VisualGuard.Security.WebService.dll) Version: 3.2.912.1 (3.2.912.01)

Syntax

C#
public override void Validate(
	string userName,
	string password
)
Visual Basic (Declaration)
Public Overrides Sub Validate ( _
	userName As String, _
	password As String _
)

Parameters

userName
Type: System..::.String
User Name
password
Type: System..::.String
User Password

Exceptions

ExceptionCondition
System.IdentityModel.Tokens..::.SecurityTokenValidationExceptionuserName and password combination are not valid
System..::.ArgumentNullExceptionuserName or password is null
System..::.ArgumentExceptionusername is empty.

or

userName or password is longer than 64 characters.
Novalys.VisualGuard.Security..::.VGConfigurationExceptionThe 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