How to unlock user in asp.net membership provider login system(dotnetspidor.blogspot.com)
submitted by
sangam100(357) 3 years, 2 months ago
The asp.net membership has the mechanism that it locks out a user's account if she tries to authenticate herself with false password five times, by default, or within 10 minute window. It is all for possible hacks. And I had no mechanism to unlock the user account. Because locked user can not login, I needed some way to unlock the user. Firstly, I was frustrated since I saw the MembershipUser class's IsLockedOut read only property. But later I came to know that there exists MembershipUser's UnlockUser() method that satisfies my requirement.
|category: ASP.NET
|Views: 178
tags:
memberhsip Provider ASP.NET another
Everyones tags:
Your Tags: