Open tawright915 opened 12 years ago
Is there a way to lock out a user? I tried adding a LockUser function to the UserAccountServices:
public bool LockUser(string userName) { _membership.GetUser(userName, false).IsApproved = false; return _membership.GetUser(userName, false).IsApproved; }
But i'm not sure how I can access this in the view.
I can unlock someone but not lock them out. Thanks tom
Is there a way to lock out a user? I tried adding a LockUser function to the UserAccountServices:
But i'm not sure how I can access this in the view.
I can unlock someone but not lock them out.
Thanks tom