SimpleMembershipProvider.UnlockUser(String) Method

Definition

Unlocks a user account so that the membership user can be validated.

public override bool UnlockUser (string userName);
override this.UnlockUser : string -> bool
Public Overrides Function UnlockUser (userName As String) As Boolean

Parameters

userName
String

The user whose user account you want to unlock.

Returns

true if the user account was unlocked; otherwise, false.

Applies to