GetPassword Method

MySQL Connector.Net

Collapse image Expand Image Copy image CopyHover image
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.8.4.0

Syntax

C#
public override string GetPassword(
	string username,
	string answer
)
Visual Basic
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