ReviewHostingASP.NET – Unfortunately in DotNetNuke site, you can not view the existing user password. Maybe you may wonder how you can retrieve a password from an existing DotNetNuke user account.  The only way you can do is either change their existing password to the new one. To overcome it, we have include a pretty simple code snippet to get back the user password in DotNetNuke.

The Easy Way To Get Back The User Password in DotNetNuke

Step 1

Make sure you import the following namespaces in your code:

Step 2

There are 3 functions available for you to choose to get back the user password in DotNetNuke:

This first function is based on User ID. The password Answer can be left blank or empty string, if user does not specify any password question answer.

This second function is based on Username. The password Answer can be left blank or empty string, if user does not specify any password question answer.
This last function is based on current user login. The password Answer can be left blank or empty string, if user does not specify any password question answer.
See the following example to use the function:
Hope it works!

Best and Recommended DotNetNuke Hosting

We highly recommend you to HostForLIFE.eu, the leader of Windows and ASP.NET hosting provider in Europe. Their service is ranked the highest top #1 spot in several European countries. HostForLIFE.eu is the only solution that helps everyone from professional developers to large enterprises achieve success in DotNetNuke website management. Their advanced DotNetNuke hosting includes rich hosting features, latest ASP.NET technology and excellent costumer support which you can enjoy starting from €3.00/month. What’s more, with their painless one-click .NET application installer, your DotNetNuke website will be up and running in no time. You can also read our best recommendation for DotNetNuke 7.4.1 hosting.

The Easy Way To Get Back The User Password in DotNetNuke