System.DirectoryServices.Protocols 10.0.0-preview.2.25163.2

About

System.DirectoryServices.Protocols provides a managed implementation of Lightweight Directory Access Protocol (LDAP) version 3 and Directory Services Markup Language (DSML) version 2.0 (V2) standards.

It primarily uses the LdapConnection type for interacting with LDAP servers, using system native libraries to establish TCP/IP or UDP LDAP connections. Supports both Windows and Unix, but certain features, such as setting client or server certificate options, are not available on Unix.

Key Features

  • Managed implementation of LDAP v3 and DSML V2 standards.

How to Use

Using the LdapConnection type, you can establish connections to LDAP servers and issue requests.

Here is a simple example:

using System.DirectoryServices.Protocols;

// Create a new LdapConnection instance using the server URL.
using (LdapConnection connection = new LdapConnection("ldap.example.com")) {

    // Some credentials
    connection.Credential = new NetworkCredential(dn, password);

    // Connect to the server
    connection.Bind();

    // Perform LDAP operations
}

Main Types

The main types provided by this library are:

  • System.DirectoryServices.Protocols.LdapConnection
  • System.DirectoryServices.Protocols.DirectoryAttribute
  • System.DirectoryServices.Protocols.DirectoryOperation
  • System.DirectoryServices.Protocols.DirectoryRequest
  • System.DirectoryServices.Protocols.DirectoryResponse

Additional Documentation

Feedback & Contributing

System.DirectoryServices.Protocols is released as open source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.

Showing the top 20 packages that depend on System.DirectoryServices.Protocols.

Packages Downloads
Microsoft.AspNetCore.Authentication.Negotiate
ASP.NET Core authentication handler used to authenticate requests using Negotiate, Kerberos, or NTLM. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/330c2397160929d6d3275ade03cee436265258e8
22
Microsoft.AspNetCore.Authentication.Negotiate
ASP.NET Core authentication handler used to authenticate requests using Negotiate, Kerberos, or NTLM. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/36be7ed6d6d56b7da0a2891e3de7ecc2aa48eecd
19
Microsoft.AspNetCore.Authentication.Negotiate
ASP.NET Core authentication handler used to authenticate requests using Negotiate, Kerberos, or NTLM. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/3fe12b935c03138f76364dc877a7e069e254b5b2
20
Microsoft.AspNetCore.Authentication.Negotiate
ASP.NET Core authentication handler used to authenticate requests using Negotiate, Kerberos, or NTLM. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/5a4c82ec57fadddef9ce841d608de5c7c8c74446
21
Microsoft.AspNetCore.Authentication.Negotiate
ASP.NET Core authentication handler used to authenticate requests using Negotiate, Kerberos, or NTLM. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/6939d9ab90aa1e57bb0619bb28819f7bcbfdbb54
21
Microsoft.AspNetCore.Authentication.Negotiate
ASP.NET Core authentication handler used to authenticate requests using Negotiate, Kerberos, or NTLM. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/be51b1aa73343e45a1d00afd436abad794f471fb
19
Microsoft.AspNetCore.Authentication.Negotiate
ASP.NET Core authentication handler used to authenticate requests using Negotiate, Kerberos, or NTLM. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/c49ccc8727c620ce1cb8fb431bb3fe8f2e747236
19
Microsoft.AspNetCore.Authentication.Negotiate
ASP.NET Core authentication handler used to authenticate requests using Negotiate, Kerberos, or NTLM. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/d47e49e9c1e173ac90821f7e89cc38e710274241
24
Microsoft.AspNetCore.Authentication.Negotiate
ASP.NET Core authentication handler used to authenticate requests using Negotiate, Kerberos, or NTLM. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/d504a7b7dab277712646747e9f5cce0d9507245e
21
Microsoft.AspNetCore.Authentication.Negotiate
ASP.NET Core authentication handler used to authenticate requests using Negotiate, Kerberos, or NTLM. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/ffaea14b06ea8b247fa4894b7d21ecf6da2cafbc
19
Microsoft.Windows.Compatibility
This Windows Compatibility Pack provides access to APIs that were previously available only for .NET Framework. It can be used from both .NET Core as well as .NET Standard. When using NuGet 3.x this package requires at least version 3.4.
707
Oracle.ManagedDataAccess.Core
Oracle Data Provider for .NET (ODP.NET) Core is a multi-platform ADO.NET driver that provides fast data access from Microsoft .NET (Core) clients to Oracle databases. ODP.NET Core consists of a single 100% managed code dynamic-link library.
364
Oracle.ManagedDataAccess.Core
Oracle Data Provider for .NET (ODP.NET) Core is an ADO.NET driver that provides fast data access from Microsoft .NET Core clients to Oracle databases. ODP.NET Core consists of a single 100% managed code dynamic-link library.
20
Oracle.ManagedDataAccess.Core
Oracle Data Provider for .NET (ODP.NET) Core is an ADO.NET driver that provides fast data access from Microsoft .NET Core clients to Oracle databases. ODP.NET Core consists of a single 100% managed code dynamic-link library.
22
Oracle.ManagedDataAccess.Core
Oracle Data Provider for .NET (ODP.NET) Core is an ADO.NET driver that provides fast data access from Microsoft .NET Core clients to Oracle databases. ODP.NET Core consists of a single 100% managed code dynamic-link library.
23
Oracle.ManagedDataAccess.Core
Oracle Data Provider for .NET (ODP.NET) Core is an ADO.NET driver that provides fast data access from Microsoft .NET Core clients to Oracle databases. ODP.NET Core consists of a single 100% managed code dynamic-link library.
25
Oracle.ManagedDataAccess.Core
Oracle Data Provider for .NET (ODP.NET) Core is an ADO.NET driver that provides fast data access from Microsoft .NET Core clients to Oracle databases. ODP.NET Core consists of a single 100% managed code dynamic-link library.
62
Oracle.ManagedDataAccess.Core
Oracle Data Provider for .NET (ODP.NET) Core is an ADO.NET driver that provides fast data access from Microsoft .NET Core clients to Oracle databases. ODP.NET Core consists of a single 100% managed code dynamic-link library.
104
Oracle.ManagedDataAccess.Core
Oracle Data Provider for .NET (ODP.NET) Core is an ADO.NET driver that provides fast data access from Microsoft .NET Core clients to Oracle databases. ODP.NET Core consists of a single 100% managed code dynamic-link library.
123
System.DirectoryServices.AccountManagement
Provides uniform access and manipulation of user, computer, and group security principals across the multiple principal stores: Active Directory Domain Services (AD DS), Active Directory Lightweight Directory Services (AD LDS), and Machine SAM (MSAM). When using NuGet 3.x this package requires at least version 3.4.
699

https://go.microsoft.com/fwlink/?LinkID=799421

.NET 8.0

  • No dependencies.

.NET 9.0

  • No dependencies.

.NET 10.0

  • No dependencies.

.NET Standard 2.0

Version Downloads Last updated
10.0.0-preview.2.25163.2 1 03/30/2025
10.0.0-preview.1.25080.5 3 03/04/2025
9.0.3 2 03/12/2025
9.0.2 2 03/12/2025
9.0.1 4 01/28/2025
9.0.0 10 11/14/2024
9.0.0-rc.2.24473.5 10 11/06/2024
9.0.0-rc.1.24431.7 9 11/10/2024
9.0.0-preview.7.24405.7 11 11/14/2024
9.0.0-preview.6.24327.7 7 11/27/2024
9.0.0-preview.5.24306.7 7 11/25/2024
9.0.0-preview.4.24266.19 8 11/10/2024
9.0.0-preview.3.24172.9 19 05/10/2024
9.0.0-preview.2.24128.5 21 04/09/2024
9.0.0-preview.1.24080.9 11 11/10/2024
8.0.0 339 05/08/2024
8.0.0-rc.2.23479.6 11 05/01/2024
8.0.0-rc.1.23419.4 8 11/28/2024
8.0.0-preview.7.23375.6 8 12/10/2024
8.0.0-preview.6.23329.7 6 11/28/2024
8.0.0-preview.5.23280.8 10 11/25/2024
8.0.0-preview.4.23259.5 8 11/14/2024
8.0.0-preview.3.23174.8 11 11/21/2024
8.0.0-preview.2.23128.3 9 11/28/2024
8.0.0-preview.1.23110.8 10 11/21/2024
7.0.1 10 11/28/2024
7.0.0 9 11/10/2024
7.0.0-rc.2.22472.3 9 04/26/2024
7.0.0-rc.1.22426.10 10 11/09/2024
7.0.0-preview.7.22375.6 9 11/21/2024
7.0.0-preview.6.22324.4 8 11/25/2024
7.0.0-preview.5.22301.12 9 11/25/2024
7.0.0-preview.4.22229.4 7 11/18/2024
7.0.0-preview.3.22175.4 7 11/26/2024
7.0.0-preview.2.22152.2 9 04/26/2024
7.0.0-preview.1.22076.8 8 11/09/2024
6.0.2 121 02/04/2024
6.0.1 124 04/13/2023
6.0.0 11 11/25/2024
6.0.0-rc.2.21480.5 10 11/11/2024
6.0.0-rc.1.21451.13 13 04/26/2024
6.0.0-preview.7.21377.19 7 11/09/2024
6.0.0-preview.6.21352.12 6 11/25/2024
6.0.0-preview.5.21301.5 10 11/29/2024
6.0.0-preview.4.21253.7 7 12/02/2024
6.0.0-preview.3.21201.4 6 11/21/2024
6.0.0-preview.2.21154.6 8 11/25/2024
6.0.0-preview.1.21102.12 7 11/21/2024
5.0.1 25 06/15/2022
5.0.0 17 09/13/2022
5.0.0-rc.2.20475.5 8 11/27/2024
5.0.0-rc.1.20451.14 10 11/28/2024
5.0.0-preview.8.20407.11 7 11/25/2024
5.0.0-preview.7.20364.11 6 11/27/2024
5.0.0-preview.6.20305.6 10 11/21/2024
5.0.0-preview.5.20278.1 10 11/27/2024
5.0.0-preview.4.20251.6 6 11/29/2024
5.0.0-preview.3.20214.6 9 11/25/2024
5.0.0-preview.2.20160.6 15 04/26/2024
5.0.0-preview.1.20120.5 10 11/25/2024
4.7.0 700 10/11/2022
4.7.0-preview3.19551.4 9 11/09/2024
4.7.0-preview2.19523.17 8 11/25/2024
4.7.0-preview1.19504.10 10 11/09/2024
4.6.0 15 11/21/2024
4.6.0-rc1.19456.4 9 11/25/2024
4.6.0-preview9.19421.4 10 04/26/2024
4.6.0-preview9.19416.11 8 11/21/2024
4.6.0-preview8.19405.3 11 11/27/2024
4.6.0-preview7.19362.9 12 05/08/2024
4.6.0-preview6.19303.8 10 05/09/2024
4.6.0-preview6.19264.9 6 11/14/2024
4.6.0-preview5.19224.8 8 11/25/2024
4.6.0-preview4.19212.13 9 11/28/2024
4.6.0-preview3.19128.7 7 11/14/2024
4.6.0-preview.19073.11 5 11/28/2024
4.6.0-preview.18571.3 7 11/25/2024
4.5.0 21 05/11/2024
4.5.0-rc1 8 11/25/2024
4.5.0-preview2-26406-04 10 11/10/2024
4.5.0-preview1-26216-02 10 11/27/2024
4.5.0-preview1-25914-04 8 11/08/2024