UnlockUser Method

MySQL Connector/Net

Unlocks the user.

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

Syntax

C#
public override bool UnlockUser(
	string username
)
Visual Basic (Declaration)
Public Overrides Function UnlockUser ( _
	username As String _
) As Boolean
Visual C++
public:
virtual bool UnlockUser(
	String^ username
) override

Parameters

username
Type: System..::.String
The username.

Return Value

true if the membership user was successfully unlocked; otherwise, false. A value of false is also returned if the user does not exist in the database.

See Also