Clears the locked-out state of the user so that the membership user can be validated.
Namespace: Novalys.VisualGuard.Security.MembershipAssembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2016.0.105.16 (2016.0.105.16)
Syntax
C# |
---|
public bool UnlockUser() |
Visual Basic |
---|
Public Function UnlockUser As Boolean |
Return Value
Type: Booleantrue if the membership user was successfully unlocked; otherwise, false.
Exceptions
Exception | Condition |
---|---|
System..::..NotSupportedException | the user is not a Visual Guard user and cannot be modified. |
System.Security..::..SecurityException | The current user has not enough privileges to use Membership API. The 'Membership Manager' role must be granted to the user by using the Visual Guard console. |