Visual Guard Class Library Documentation

VGMemberShipProvider.UnlockUser Method 

Clears the user's locked-out status so that the membership user can be validated.

public override bool UnlockUser(
   String userName
);

Parameters

userName
The name of the membership user to clear the locked-out status for.

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.

Exceptions

Exception Type Condition
ArgumentException username is an empty string, is longer than 64 characters.
ArgumentNullException username is null.

See Also

VGMemberShipProvider Class | Novalys.VisualGuard.Security.WebForm Namespace