Locking Users Out
Hi All,
I've got a question about locking users out.
On the admin/editUser page, the checkbox is available for IsLockedOut. If the user is not locked out, the checkbox is disabled. If the user is locked out, the checkbox is enabled and admins can unlock the user. So how do you go about actually locking a user out.
In the book it is simply stated that "users can't be locked out from here", but it gives no leads on how to actually allow admins to lock a user out.
I've looked through the Membership object methods and no 'LockUser' method exists, only 'UnlockUser'. Certainly this must be possible, but from where?
Thanks
Also, does it seem a little short sighted of Microsoft to only provide half of this functionality through the Membership object to anyone else? What is so special about locking a user that it wouldn't be included as a method?
|