Visual Guard Class Library Documentation

VGMembershipUser.UnlockUser Method 

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

public bool UnlockUser();

Return Value

true if the membership user was successfully unlocked; otherwise, false.

Exceptions

Exception Type Condition
NotSupportedException the user is not a Visual Guard user and cannot be modified.
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.

See Also

VGMembershipUser Class | Novalys.VisualGuard.Security.Membership Namespace