GetPassword Method

MySQL Connector/Net

Gets the password for the specified user name from the data source.

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

Syntax

C#
public override string GetPassword(
	string username,
	string answer
)
Visual Basic (Declaration)
Public Overrides Function GetPassword ( _
	username As String, _
	answer As String _
) As String
Visual C++
public:
virtual String^ GetPassword(
	String^ username, 
	String^ answer
) override

Parameters

username
Type: System..::.String
The user to retrieve the password for.
answer
Type: System..::.String
The password answer for the user.

Return Value

The password for the specified user name.

See Also