I’m trying to use AD Lightweight Directory Services for user authentication in ASP.net application and dont want to use Forms authentication. Is there any way to authenticate it using windows authentication.
<authentication mode="Windows" />
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can try this
How To: Use Windows Authentication in ASP.NET 2.0
How To: Use Forms Authentication with Active Directory in ASP.NET 2.0
Edit:
This worked for me:
and then in code
You should be able to do some custom code with for example DirectoryEntry Class, like Enumerating Users and Groups. Here You can find more about Using Active Directory Lightweight Directory Services.