Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Read The username password in database Read The username password in database
Previous
 
Next
New Post
7/17/2009 2:01 AM
 

Plzz tell me how to read the password and User name both for registerd user in nuke database . i develop the new application in asp.net and C# i want to same username and password for Authentication . for this read the Usename and password in nukedatabase of Registerd user .but in nuke database password and userid is in encrypt formate so can it dycript it .or other way this is possible .

i cheeaked the nuke database so this field is in formate ....

 

 
aspnet_Membership (Table Name)
 
UserId (columname)
Password (columname)
Passwordformat (columname)
 
 
aspnet_Users (Table Name)
UserId (columname)
UserName (columname)
 
Users (Table Name)
Username (columname)
UserID (columname)

plzzz tell me this is urgent .

 

 

 

 

 

 


Ashish Tiwari
 
New Post
7/17/2009 2:35 AM
 

hi ashish,

1. you can use username properties from the UserInfo to pull the username. ex: UserInfo.Username;

2. you can use GetPassword() method from the UserController to pull the password. ex: DotNetNuke.Entities.Users.UserController.GetPassword();

 
New Post
7/17/2009 2:39 AM
 

Hi Ahish

        Dim objUser As System.Web.Security.MembershipUser
        objUser = System.Web.Security.Membership.GetUser("username")
        Dim pwd As String = objUser.GetPassword()
        Response.Write(pwd)
This code will return you password for supplied user. you can get user name form users table which is DNN table

Regards

Leo TechnoSoft Pvt. Ltd

http://www.leosys.in


Leo TechnoSoft Pvt.Ltd - The Biggest DotNetNuke Development Team
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Read The username password in database Read The username password in database


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out