Author: AceCorban | Posted on: 12/17/2009 5:09:56 PM | Views : 1674

So my favorite thing in the world to do is maintain someone else's spaghetti code, but my current feature isn't too big of a problem, though it does deal with the Membership API, which I tend to avoid in my own apps.  I want to be able to change someone's password as a user administrator.


The change password feature works fine for a user logged in.  They provide their old and new password and no big deal.  Forgot password works ok as well.  However, I'd also like to have a 3rd feature that allows an administrator to have the ability to reset a password to something of his choice.  The problem, however, is that he will likely not know the user's old password.  I can't user MembershipUser.ChangePassword(String, String) because the first parameter is the old password.


Ideas?
...

Go to the complete details ...