Change a Membership password
Add the below code into any page replacing the username and password.
var user = Membership.GetUser("UserName");
user.ChangePassword(user.ResetPassword(), "NewPassword");
Written by Christian Froehlich
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Asp.net
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#