UnlockUser Method

MySQL Connector.Net

Collapse image Expand Image Copy image CopyHover image
Unlocks the user.

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

Syntax

C#
public override bool UnlockUser(
	string username
)
Visual Basic
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