LDAP in .NET

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • bwahahahaha

    #1

    LDAP in .NET

    Hi,

    Is there a library in .NET for LDAP?

    Thanks.




  • Patrick Dahmen

    #2
    Re: LDAP in .NET

    Yes there is !
    Look at System.Director yServices

    "bwahahahah a" <bwahahaha@bwah ahaha.org.ie> wrote in message
    news:%23%235kYx $kDHA.2000@TK2M SFTNGP12.phx.gb l...[color=blue]
    > Hi,
    >
    > Is there a library in .NET for LDAP?
    >
    > Thanks.
    >
    >
    >
    >[/color]


    Comment

    • Willy Denoyette [MVP]

      #3
      Re: LDAP in .NET

      It depends what you mean with .NET and what you want to achieve, the LDAP (protocol) library is a native code system library
      (available on XP, W2K and W2K3).
      You can use this library from C++ and Managed C++, using C# will require a lot of managed/unmanaged interop using PInvoke.
      However if you only need to access LDAP servers (like AD and IIS) from managed code, you should use the managed classes from
      System.Director yServices.

      Willy.


      "bwahahahah a" <bwahahaha@bwah ahaha.org.ie> wrote in message news:%23%235kYx $kDHA.2000@TK2M SFTNGP12.phx.gb l...[color=blue]
      > Hi,
      >
      > Is there a library in .NET for LDAP?
      >
      > Thanks.
      >
      >
      >
      >[/color]


      Comment

      • Richard Burte

        #4
        Re: LDAP in .NET

        Yes. The framework allows you to use any ADSI provider including LDAP, NDS
        etc.
        From MSDN:
        System.Director yServices - consists of classes that provide easy access to
        the Active Directory from managed code. The classes in this namespace can be
        used with any of the Active Directory service providers. The current
        providers are: Internet Information Services (IIS), Lightweight Directory
        Access Protocol (LDAP), Novell NetWare Directory Service (NDS), and Windows
        NT. For more information about the Active Directory, see Directory Services.

        Richard

        "bwahahahah a" <bwahahaha@bwah ahaha.org.ie> wrote in message
        news:##5kYx$kDH A.2000@TK2MSFTN GP12.phx.gbl...[color=blue]
        > Hi,
        >
        > Is there a library in .NET for LDAP?
        >
        > Thanks.
        >
        >
        >
        >[/color]


        Comment

        Working...