How do I get Password from Membership Object

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 -


JT_SIROAsked:
Who is Participating?
 
Carl TawnConnect With a Mentor Systems and Integration DeveloperCommented:
@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
 
MISOperationsCommented:
You cannot view users passwords, they are encrypted for the protection of the user.
0
 
JT_SIROAuthor Commented:
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
 
MISOperationsCommented:
The users need to remember their information, backup the system as a whole, you cannot access their passwords though.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.