locked
Active Directory implementation in asp.net using C# RRS feed

  • Question

  • User1541097065 posted

    Dear all

    I am developing an web application in asp.net using C#. In this application i have to use active directory. 

    I am totally new in active directory. How can i do that? please give me an example with step by step.

    Thanks in advance. 

    Thursday, February 21, 2013 1:19 AM

Answers

All replies

  • User-691245060 posted

    use Active Directory for Forms Authentication - http://msdn.microsoft.com/en-us/library/ff650308.aspx

    get started from that tutorial... 

    thanks,

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, February 21, 2013 1:22 AM
  • User1291589676 posted

    Below links may help you,

    http://msdn.microsoft.com/en-us/library/ms180890(v=vs.80).aspx

    http://www.codeproject.com/Articles/265870/Bypass-Forms-Authentication-to-Use-Active-Director

    http://www.codeproject.com/Articles/1812/Using-Active-Directory-In-ASP-NET-Dump-Schema-Info

    Thursday, February 21, 2013 1:24 AM
  • User-425639139 posted

    You would need following things before you can use  Active Direcotry:

    • Active Directory LDAP URL/Conneciton string mostly like LDAP://somecompany.com
    • A user that has Active Directory enumenration capabilities/rights.

    Refer the following article to see almost everything that can be done using C# and Active Direcotry, if you have further quesitons let me know:

    http://www.codeproject.com/Articles/18102/Howto-Almost-Everything-In-Active-Directory-via-C

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, February 21, 2013 1:25 AM