Solved

How do I get Password from Membership Object

Posted on 2011-02-11
5
248 Views
Last Modified: 2012-05-11
Does the MembershipUser object contain the users Password?  I need to display usernames and passwords on an admin page and can't seem to find it.

            MembershipUtil MembershipUtil = new MembershipUtil();
            MembershipUtil.Username = usr.UserName;

When I try MembershipUtil.Username = usr.Password;  - It fails because there is no Password.  Please advise.  thx -


0
Comment
Question by:JT_SIRO
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 6

Expert Comment

by:MISOperations
ID: 34874373
You cannot view users passwords, they are encrypted for the protection of the user.
0
 

Author Comment

by:JT_SIRO
ID: 34874961
I was hoping I wouldn't get that response.  So what am I supposed to do?  I need to be able to look up passwords easily.  
0
 
LVL 6

Expert Comment

by:MISOperations
ID: 34875378
The users need to remember their information, backup the system as a whole, you cannot access their passwords though.
0
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 125 total points
ID: 34876099
@MISOperations - dishing out slightly inaccurate information there :)

You have three options with regards to passwords with membership, they can be stored in plain text, hashed, or encrypted formats. Whether or not you can retrieve them depends on which method you are using. The only one that you can't retrieve them with is Hashed, as hashing is a one way mechanism. If they are encrypted, they can also be de-crypted and can therefore be retrieved.
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question