ASP.NET Membership user forgot password

asp.netasp.net-membershipasp.net-mvc-3

Q: Is there a mechanism per mvc3/asp.net membership provide/object where if a user forgets his/her username is there a way to reset it or figure out what it is and programatically send it back to the user or a link that has them re-register?

Best Answer

If you are using the Membership provider in your ASP.NET MVC project you can easily implement the password recovery views/controllers/models. I've got an example of this on my blog:

http://hectorcorrea.com/Blog/Password-Recovery-in-an-ASP.NET-MVC-Project

Related Topic