hazped.ldap 1.0.0.3

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
dotnet add package hazped.ldap --version 1.0.0.3
NuGet\Install-Package hazped.ldap -Version 1.0.0.3
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="hazped.ldap" Version="1.0.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add hazped.ldap --version 1.0.0.3
#r "nuget: hazped.ldap, 1.0.0.3"
#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.
// Install hazped.ldap as a Cake Addin
#addin nuget:?package=hazped.ldap&version=1.0.0.3

// Install hazped.ldap as a Cake Tool
#tool nuget:?package=hazped.ldap&version=1.0.0.3

Directory management package (AD or LDAP)

Import the using

using hazped.ldap;

We have two implemented functions

1.Checking the directory connection (Returns true if the connection is successful)

public static bool Login(string domain, string hostname, int portNumber, string username, string password)

2.Extract users from the directory (Returns the list of users)

public static IReadOnlyList<User> GetUsers(string domain, string hostname, int portNumber, string username, string password, string distinguishedName, string ldapFilter, SearchScope searchScope = SearchScope.Subtree)

sample

1.Checking the directory connection

Services.Login(domain, server, port, userName, passWord);

2.Extract users from the directory

Services.GetUsers(domain, server, port, userName, passWord, distinguishedName, ldapFilter);
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
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
1.0.0.3 226 3/13/2023