title: How to lock user using forms authentication
body: <p>Coding Platform: ASP.NET 4.0 Webforms with C#</p>
  
  <p>I have two roles admin and member.<br>
  In my application, admin can manipulate most of the member data.<br>
  I know that in forms authentication a user can be unlocked like,</p>
  
  <pre><code>            MembershipUser user = Membership.GetUser(clickeduserName);
              user.UnlockUser();
              Membership.UpdateUser(user);
  </code></pre>
  
  <p>My questions are, </p>
  
  <ol>
  <li>How to lock a user in forms authentication?</li>
  <li>Why is <a href="http://msdn.microsoft.com/en-us/library/system.web.security.membershipuser.islockedout.aspx" rel="noreferrer"><code>MembershipUser.IsLockedOut
  Property</code></a> set as ReadOnly?</li>
  <li>Is it not the right way to LockOut
  people as an administrator?</li>
  </ol>