PasswordRecovery Template FindControl Sample
Use the pre-created sample accounts listed below and select a request priority from the Question template.
Forgot Your Password?
Enter your User Name to receive your password.
User Name:
Sample Notes:
The PasswordRecovery email is being cancelled for demonostration purposes.
Close and reopen your browser or add a ? in the URL of your browser and press enter to start the sample over again.
SECURITY NOTE:
The most secure passwordFormat is hashed. The hashed option only supports enablePasswordReset. If you need to enablePasswordRetrieval the most secure format is encrypted. Encrypting your password requires a pre-defined machinekey. To enable these samples to run on all machines without machine key configuration and with a consistent password we are using the clear password format. In production you should change this setting in the Membership provider in web.config.
Example User Accounts
You can use the following user accounts to try out this sample:
UserName
Password
Question
Answer
Roles
User1
123456?
Favorite color?
Red
Users, Customers
User2
123456?
Favorite color?
Red
Admins
User3
123456?
Favorite color?
Red
Customers