Home/ASP.NET Forums/Advanced ASP.NET/Active Directory and LDAP/Reading LDAP from ASP.NET

Reading LDAP from ASP.NET [Answered]RSS

4 replies

Last post Jan 29, 2010 12:01 AM by gaurav_majithia

Thanks,
Karthick S
  • afreen_it

    afreen_it

    Member

    11 Points

    118 Posts

    Re: Reading LDAP from ASP.NET

    Jan 28, 2010 03:49 AM|afreen_it|LINK

    Hi,

    Thanks for the prompt reply.

    Can you please also tell me in which library I can find DirectoryEntry class?


    Regards,


    Afreen




  • afreen_it

    afreen_it

    Member

    11 Points

    118 Posts

    Re: Reading LDAP from ASP.NET

    Jan 28, 2010 04:04 AM|afreen_it|LINK

    Thanks again.

    I am not able to find this library (using System.DirectoryServices; ) in my C# Web Application.

    Do I need to download something?


    Regards,


    Afreen


  • gaurav_majithia

    gaurav_majit...

    Member

    144 Points

    71 Posts

    Re: Reading LDAP from ASP.NET

    Jan 29, 2010 12:01 AM|gaurav_majithia|LINK

    You need to add this library (System.DirectoryServices) as refrence to your project first.

    After adding as reference, just Import this library in your page and you should be able to find directoryentry.

     

    dim employee As DirectoryEntry

     

    Let me know if this solves your query and don't forget to mark as Answer if this is correct.

    AD C# LDAP single sign-on

    Regards,
    Gaurav Majithia

    Mark the post as answer, if it helped you in solving your question.
    Help the community to get better and more helpful.
    For Online Bulk SMS Visit http://sms.gamatech.in
  • ‹ Previous Thread|Next Thread ›