LDAP in .NET

  • Thread starter Thread starter bwahahahaha
  • Start date Start date
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.DirectoryServices.

Willy.
 
Yes. The framework allows you to use any ADSI provider including LDAP, NDS
etc.
From MSDN:
System.DirectoryServices - 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
 
Back
Top