Subject: DNN Password
Prev Next
You are not authorized to post a reply.

AuthorMessages
JaneUser is Offline
New Poster
New Poster
Posts:3

06/15/2010 3:32 PM  

I would like to retrive and decrypt passwords from DNN database (existing application and existing users)?

1. Is it possible to do it from SQL? How?

2. Is it possible to do it from .net? Is there any utility to do that? How?

Please give me some details and steps for it.

Thank you.

 

Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:6089

06/15/2010 3:34 PM  
1.) You would need to do this from the .NET side
2.) There is a "GetPassword" method provided by the DotNetNuke API that you can use. Look in the DotNetNuke.Entities.Users namespace.

-Mitchel Sellers
Microsoft C# MVP, MCITP
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

For shared hosting I recommend PowerDNN

This site is hosted on a Dedicated Server from PowerDNN.com

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
JaneUser is Offline
New Poster
New Poster
Posts:3

06/15/2010 3:49 PM  

Thank you.

I would like to create a separate application (Like Windows Form) as my Utility Application to do that.

Is it possible?

What do I need to have in the project to make it work? (config, references and so on)

Do I need config file in this case? (if it is windows form application - ???)

 

What is the best and easy way to do it?

JaneUser is Offline
New Poster
New Poster
Posts:3

06/15/2010 3:55 PM  

I basically need to get all users and their decrypted passwords (for moving data to external db).

Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:6089

06/15/2010 4:42 PM  
You will need the MachineKey values from the web.config as well as a reference to the DotNetNuke.dll at minimum.

-Mitchel Sellers
Microsoft C# MVP, MCITP
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

For shared hosting I recommend PowerDNN

This site is hosted on a Dedicated Server from PowerDNN.com

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
You are not authorized to post a reply.



ActiveForums 3.7