Click here to Skip to main content
15,910,009 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dear Friends,

Am working on Asp.net C#,SqlServer 2005.

I have a Login Page in My project(Web Application). I need to Access that application by using UserName, Password and Display Name from Active Directory.

All the UserNames, Passwords are Stored in Active Directory.So we need to Login by using that Active Directory Username and Passwords.

Please help me,

Thanks.
Posted

use IIS Integrated Authentication[^] to handle the login process if you want to use AD credentials; you can't read passwords from AD, only confirm them

Use a single login to address the SQL server, have functionality determined by the Page.User[^] property to work out who's asking
 
Share this answer
 
I think this article will help you.
Howto: (Almost) Everything In Active Directory via C#[^]
 
Share this answer
 

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