Click or drag to resize

VGMembershipUserUnlockUser Method

Clears the locked-out state of the user so that the membership user can be validated.

Namespace:  Novalys.VisualGuard.Security.Membership
Assembly:  Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2019.0.101.19 (2019.0.0101.19)
Syntax
public bool UnlockUser()

Return Value

Type: Boolean
true if the membership user was successfully unlocked; otherwise, false.
Exceptions
ExceptionCondition
NotSupportedExceptionthe user is not a Visual Guard user and cannot be modified.
SecurityExceptionThe 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.
See Also