Membership security. Forcing a Password Recovery/Reset?

J

jobs

I'm using asp.net Membership security. Using the Password recovery
control, users can reset/recover their passwords. Great.

I've grid with all the users. I'd like to add a button so the admin of
the ap can reset anybodies password (sending them a new password).

Is there class that will do this? If not, any way around this?

Thanks for any help or information!
 
G

Guest

Hi
Lookout for Membership Class of System.Web.Security to programmatically
change user's password.

eg.

Dim user As MembershipUser = Membership.GetUser("ABC")
user.ChangePassword(user.GetPassword(), newPassword)

Regards
JIGNESH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,071
Latest member
MetabolicSolutionsKeto

Latest Threads

Top