Wednesday, September 28, 2011

How to retrieve encrypted password in ASP.NET membership?



            var tusername = "username";
            System.Web.Security.MembershipUser tmpuser = System.Web.Security.Membership.GetUser(tusername);
            var password = tmpuser.GetPassword();

No comments:

Post a Comment