Problem with Retrieve Password

Topics: FBA, Forms Based Authentication, SharePoint
Feb 28, 2009 at 12:05 PM
Hi ,
I deployed the fbamanagement webpart 4 monthes ago,I didn't have any problem since now,Some Users LOCKED OUT,and when I try to retrive their password, I get this Error : the user account has been locked out.
Is there any way to retrive these users?

Thanks in advance

Nadi
Mar 2, 2009 at 3:34 PM
Hello,

I got round this by searching for UserEdit.aspx on the server, open it up in notepad and search for "protected void OnResetPassword(object sender, EventArgs e)"

Then directly under "MembershipUser user = Membership.GetUser(Request.QueryString["USERNAME"]);"     type       user.UnlockUser();

This should unlock the membership user everytime you click the Reset password button.


Hope this helps.