Click here to Skip to main content
15,893,668 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
Hi all,
i want to get Password of a user from Active directory User through C# code. In my application
i am using Active Directory authentication while logging in. if any user forget they password i need to recover that Password.

Please help any ideas or any sample code
Posted

In any non-nonsense secured password-based system, no one can ever retrieve a password. Passwords are not stored anywhere; this is absolutely not needed for authentication but unsafe. No one is supposed to know a password, except a person who created it. To understand how it's possible, please see my past answers:
i already encrypt my password but when i log in it gives me an error. how can decrypte it[^],
Decryption of Encrypted Password[^],
storing password value int sql server with secure way[^].

—SA
 
Share this answer
 
Just check the below URL. May be helpful.

Working with Active Directory in VB .NET
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900