1

I have email id of FBA user and based on that I need username and password of that email id programatically. I guess I will get username but is it possible to get password of FBA user?

Thanks.

0

UserName and Password of FBA User is stored on the aspnet_Membership table of db where your FBA is configured. Again according to your configuration password would be either hashed or in Clear text format.

You can query the same using database query from the table programatically.

About password, if the password is in plain text then only you can fetch, otherwise if it is configured to be encrypted then you may not be able to fetch the same.

  • Thanks. Can you give me the query or sample code for the same. As i don't have enough knowledge for it – DRS May 17 '16 at 9:36
  • SELECT UserName,Password FROM aspnet_Membership; this is SQL Query to fetch through DB. Also you can look for link below for fetching data from SQL Database using C# stackoverflow.com/questions/25739788/… – Ankitkumar Malde May 17 '16 at 10:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.