The MembershipUser object has a ChangePassword method. It also has a
ResetPassword method, but the ResetPassword will generate one randomly. What
you can do though is obtain an instance of the user via their username
MembershipUser user = System.Web.Security.Membership.GetUser(username);
To change the password you need to know the old password, though if you call
resetpassword it will return the newly reset password string so you can do:
user.ChangePassword(user.ResetPassword(),"mynewpas sword);
Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
"Homer" <Ho*******@gmail.comwrote in message
news:11**********************@g12g2000prg.googlegr oups.com...
Hi,
I want to be able to reset a user's password and I do not want to use
the PasswordRecovery control to reset and email it to the user. A
while back, I thought I'd read an article that mentioned about
resetting password using the Website Administration Tool. I could not
find such option in WSAT. Please help!
Thanks,
Jon