ValidateUser Method

MySQL Connector/Net

Verifies that the specified user name and password exist in the data source.

Namespace:  MySql.Web.Security
Assembly:  MySql.Web (in MySql.Web.dll) Version: 6.2.2.0

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
Visual C++
public:
virtual bool ValidateUser(
	String^ username, 
	String^ password
) override

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.

See Also