Authenticates the specified user name and password.

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

Syntax

C#
public override void Validate(
	string userName,
	string password
)
Visual Basic
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