Bitai.LDAPHelper 8.0.1

dotnet add package Bitai.LDAPHelper --version 8.0.1
                    
NuGet\Install-Package Bitai.LDAPHelper -Version 8.0.1
                    
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.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bitai.LDAPHelper" Version="8.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Bitai.LDAPHelper" />
                    
Project file
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.1
                    
#r "nuget: Bitai.LDAPHelper, 8.0.1"
                    
#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.1
                    
#: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.1
                    
Install as a Cake Addin
#tool nuget:?package=Bitai.LDAPHelper&version=8.0.1
                    
Install as a Cake Tool

.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

How to use the library?

  • See the project Bitai.LDAPHelper.Demo to get a reference

How to execute Demo console application?

{
    "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

Product 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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
8.0.1 118 7/16/2025
8.0.0 167 7/17/2024
7.0.0 392 3/10/2023 7.0.0 is deprecated because it is no longer maintained and has critical bugs.
6.1.13 371 1/27/2023 6.1.13 is deprecated because it is no longer maintained and has critical bugs.
6.1.12 354 1/27/2023 6.1.12 is deprecated because it is no longer maintained and has critical bugs.
6.1.11 362 1/23/2023 6.1.11 is deprecated because it is no longer maintained and has critical bugs.
6.1.10 354 1/19/2023 6.1.10 is deprecated because it is no longer maintained and has critical bugs.
6.1.9 362 1/18/2023 6.1.9 is deprecated because it is no longer maintained and has critical bugs.
6.1.8 438 12/3/2022 6.1.8 is deprecated because it is no longer maintained and has critical bugs.
6.1.7 412 12/2/2022 6.1.7 is deprecated because it is no longer maintained and has critical bugs.
6.1.6 416 11/22/2022 6.1.6 is deprecated because it is no longer maintained and has critical bugs.
6.1.5 410 11/22/2022 6.1.5 is deprecated because it is no longer maintained and has critical bugs.
6.1.4 508 10/13/2022 6.1.4 is deprecated because it is no longer maintained and has critical bugs.
6.1.3 484 10/9/2022 6.1.3 is deprecated because it is no longer maintained and has critical bugs.
6.1.2 486 10/8/2022 6.1.2 is deprecated because it is no longer maintained and has critical bugs.
6.1.1 460 10/7/2022 6.1.1 is deprecated because it is no longer maintained and has critical bugs.
6.1.0 451 10/4/2022 6.1.0 is deprecated because it is no longer maintained and has critical bugs.
6.0.0 508 8/7/2022 6.0.0 is deprecated because it is no longer maintained and has critical bugs.
4.0.0 487 8/9/2021 4.0.0 is deprecated because it is no longer maintained and has critical bugs.
3.0.2 427 7/6/2021 3.0.2 is deprecated because it is no longer maintained and has critical bugs.
3.0.1 432 4/6/2021 3.0.1 is deprecated because it is no longer maintained and has critical bugs.
3.0.0 499 4/4/2021 3.0.0 is deprecated because it is no longer maintained and has critical bugs.
2.3.0 496 3/27/2021 2.3.0 is deprecated because it is no longer maintained and has critical bugs.

Upgraded t .NET 8