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: 3.2.912.1 (3.2.912.01)

Syntax

C#
public override bool ValidateUser(
	string username,
	string password
)
Visual Basic (Declaration)
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

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