Verifies that the specified user name and password exist in the repository and loads the Visual Guard permissions.

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

Syntax

C#
public override bool ValidateUser(
	string username,
	string password
)
Visual Basic
Public Overrides Function ValidateUser ( 
	username As String,
	password As String
) As Boolean

Parameters

username
Type: System..::..String
The name of the user to validate.
password
Type: System..::..String
The password for the specified user.

Return Value

Type: Boolean
true if the specified username and password are valid; otherwise, false. If the user specified does not exist in the Visual Guard repository, the method returns false.

See Also