Bitai.LDAPHelper
8.0.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Bitai.LDAPHelper --version 8.0.0
NuGet\Install-Package Bitai.LDAPHelper -Version 8.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Bitai.LDAPHelper" Version="8.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bitai.LDAPHelper" Version="8.0.0" />
<PackageReference Include="Bitai.LDAPHelper" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Bitai.LDAPHelper --version 8.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Bitai.LDAPHelper, 8.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Bitai.LDAPHelper@8.0.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Bitai.LDAPHelper&version=8.0.0
#tool nuget:?package=Bitai.LDAPHelper&version=8.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
LDAP Helper ![Logo]()
.NET 7.0 library which wraps Novell.Directory.Ldap.NETStandard functionality to make LDAP searches and also authenticate, create, remove users in a LDAP compliant Directory Service.
This libary is part of Bitai.LDAPWebApi solution
Requirements
- .NET 8.0
- Have at least .NET 8.0 SDK installed on your system.
How to use the library?
- See the project Bitai.LDAPHelper.Demo to get a reference
How to execute Demo console application?
- First, make a copy on your desktop of the Bitai.LDAPHelper.Demo/ldap-helper-demo-setup.json file.
- Edit the copied file and set the parameters as needed.
{
"LdapServers": [
{
"Address": "hr.company.com"
},
{
"Address": "10.100.54.4"
},
{
"Address": "55.55.55.13"
},
{
"Address": "10.100.54.35"
},
{
"Address": "11.11.11.13"
},
{
"Address": "124.11.58.130"
}
],
"BaseDNs": [
{
"DN": "DC=school,DC=edu,DC=uk"
},
{
"DN": "DC=university,DC=edu,DC=br"
},
{
"DN": "DC=domain,CD=local"
},
{
"DN": "DC=br, DC=company, DC=com"
},
{
"DN": "DC=pe, DC=company, DC=com"
},
{
"DN": "DC=es, DC=company, DC=com"
}
],
"ConnectionTimeout": 15,
"DomainUserAccountForRunTests": "CERTUS\\usrrpa_mda",
"AccountPassword": "@secret-password!",
"Demo_AccountManager_CreateUserAccount_RunTest": true,
"Demo_AccountManager_CreateUserAccount_UserAccountName": "vbastidas77",
"Demo_AccountManager_CreateUserAccount_Password": "rpa2023@@",
"Demo_AccountManager_CreateUserAccount_ContainerDN": "OU=TEST_RPA_MDA,OU=ADM,OU=CERTUS,DC=certus,DC=edu,DC=pe",
"Demo_AccountManager_CreateUserAccount_Name": "Victor G.",
"Demo_AccountManager_CreateUserAccount_Surname": "Bastidas G.",
"Demo_AccountManager_CreateUserAccount_DNSDomainName": "certus.edu.pe",
"Demo_AccountManager_CreateUserAccount_MemberOf": null,
"Demo_AccountManager_CreateUserAccount_ObjectClasses": "user,top,person,organizationalPerson",
"Demo_AccountManager_CreateUserAccount_UserAccountControlFlags": "NORMAL_ACCOUNT,DONT_EXPIRE_PASSWORD",
"Demo_AccountManager_SetAccountPassword_RunTest": false,
"Demo_AccountManager_SetAccountPassword_DistinguishedName": "CN=Victor Bastidas,OU=TEST_RPA_MDA,OU=ADM,OU=CERTUS,DC=certus,DC=edu,DC=pe",
"Demo_Authenticator_Authenticate_RunTest": true,
"Demo_Authenticator_Authenticate_RunTest_Simple": false,
"Demo_Authenticator_Authenticate_DomainAccountName": "CERTUS\\vbastidas77",
"Demo_AccountManager_DisableUserAccount_RunTest": false,
"Demo_AccountManager_DisableUserAccount_UserAccountDistinguishedName": "CN=Victor Bastidas,OU=TEST_RPA_MDA,OU=ADM,OU=CERTUS,DC=certus,DC=edu,DC=pe",
"Demo_AccountManager_RemoveUserAccount_RunTest": false,
"Demo_AccountManager_RemoveUserAccount_UserAccountDistinguishedName": "CN=Victor German Bastidas Gonzales,OU=TEST_RPA_MDA,OU=ADM,OU=CERTUS,DC=certus,DC=edu,DC=pe",
"Demo_Searcher_SearchUsers_RunTest": false,
"Demo_Searcher_SearchUsers_Filter_sAMAccountName": "00000002",
"Demo_Searcher_SearchUsers_Filter_cn": "*Isaac*",
"Demo_Searcher_SearchUsersByTwoFilters_Filter1_sAMAccountName": "*cordoba",
"Demo_Searcher_SearchUsersByTwoFilters_Filter2_cn": "*manuel*",
"Demo_Searcher_SearchEntries_RunTest": false,
"Demo_Searcher_SearchEntries_Filter_cn": "SRVWEBDEV",
"Demo_Searcher_SearchEntries_Filter_objectSid": "S-1-5-21-3451337281-1996239963-2625140484-1000",
"Demo_Searcher_SearchEntriesByTwoFilters_Filter1_cn": "*server*",
"Demo_Searcher_SearchEntriesByTwoFilters_Filter2_cn": "*database*",
"Demo_Searcher_SearchParentEntries_RunTest": false,
"Demo_Searcher_SearchParentEntries_Filter_sAMAccountName": "00000002",
"Demo_GroupMembershipValidator_RunTest": false,
"Demo_GroupMembershipValidator_CheckGroupmembership_sAMAccountName": "Administrator",
"Demo_GroupMembershipValidator_CheckGroupmembership_Check_GroupName": "Administrators"
}
- After you have edited the parameter values in the configuration file, you can run the demo.
You may also be interested in
- Bitai.IdentityServer4.Admin forked from skoruba.IdentityServer4.Admin. This forked repository proposes to implement user authentication on an LDAP server.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Bitai.LDAPHelper.DTO (>= 8.0.0)
- Novell.Directory.Ldap.NETStandard (>= 4.0.0-beta4)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Bitai.LDAPHelper:
| Package | Downloads |
|---|---|
|
Bitai.LDAPHelper.Tests.Mocks
Mocks for testing BITAI.LDAPHelper library. |
|
|
Bitai.LDAPHelper.LdapAdapters.LdapHelperMock
Mocks for testing BITAI.LDAPHelper library. |
|
|
Bitai.LDAPHelper.LdapAdapters.Novell
Bitai.LDAPHelper adapter for wrapping Novell.Directory.Ldap.NETStandard. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 10.2.1 | 100 | 10/1/2026 | |
| 10.2.0 | 159 | 7/21/2026 | |
| 10.1.2 | 169 | 6/10/2026 | |
| 10.1.1 | 154 | 6/9/2026 | |
| 10.1.0 | 188 | 6/7/2026 | |
| 10.0.0 | 148 | 6/5/2026 | |
| 8.6.0 | 141 | 5/29/2026 | |
| 8.5.7 | 150 | 5/27/2026 | |
| 8.0.1 | 276 | 7/16/2025 | |
| 8.0.0 | 275 | 7/17/2024 | |
| 7.0.0 | 523 | 3/10/2023 | |
| 6.1.13 | 497 | 1/27/2023 | |
| 6.1.12 | 471 | 1/27/2023 | |
| 6.1.11 | 485 | 1/23/2023 | |
| 6.1.10 | 489 | 1/19/2023 | |
| 6.1.9 | 485 | 1/18/2023 | |
| 6.1.8 | 555 | 12/3/2022 | |
| 6.1.7 | 541 | 12/2/2022 | |
| 6.1.6 | 545 | 11/22/2022 | |
| 6.1.5 | 542 | 11/22/2022 |
Loading failed
Upgraded t .NET 8