Horseshoe.NET.ActiveDirectory 4.0.1

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

Horseshoe.NET icon

Horseshoe.NET.ActiveDirectory

Services for Active Directory authentication and LDAP querying.

Code Examples

var userIdNameOrEmail = "djones1" -or- "david.jones@mybiz.com" -or- "Jones, David E. [Contractor]";
var ldapProperties = "name|cn|samaccountname|memberof";   // (optional)

var user = ADUtil.GetUser(userIdNameOrEmail, propertiesToLoad: ldapProperties);
-or-
var user = ADUtil.Authenticate(userIdNameOrEmail, "P@$$W0rd123");

user.GetGroups(orderByAdsPath: true);        // "All Contractors", "DB Admins", "Hiring Team"...
user.OU;                                     // "Contractors"
user.RawOU;                                  // LDAP://OU=Contractors,DC=mybiz,DC=com
ADUtil.ListOUs();                            // (lists all OUs in Active Directory)
ADEngine.GetDomainContext().ConnectedServer; // (lists name of connected domain controller)
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  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.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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
4.0.1 102 2/8/2025
4.0.0.2 96 2/5/2025
3.1.6 142 12/4/2024
3.1.5 125 10/24/2024
3.1.4 117 7/5/2024
3.1.3 117 6/18/2024
3.1.2 107 6/8/2024
3.1.1 120 5/20/2024
3.1.0 157 1/27/2024
3.0.2 293 5/5/2023
3.0.1 350 2/20/2023
3.0.0.2 305 2/14/2023
3.0.0.1 302 2/13/2023
3.0.0 308 2/9/2023
2.0.4 658 11/5/2022
2.0.3 453 10/31/2022
2.0.2 592 10/14/2022
2.0.1 473 10/7/2022
2.0.0 427 10/6/2022
1.6.2 596 9/12/2022
1.6.1 509 9/6/2022
1.6.0 482 9/5/2022
1.5.9 466 9/5/2022
1.5.8 535 8/24/2022
1.5.7 533 8/12/2022
1.5.6 665 7/28/2022
1.5.5 792 6/1/2022
1.5.4 908 4/15/2022
1.5.3 551 4/13/2022
1.5.2 558 4/1/2022
1.5.1 507 3/30/2022
1.5.0 551 3/4/2022
1.4.4.2 535 2/12/2022
1.4.4.1 516 2/5/2022
1.4.4 537 2/4/2022
1.4.3.1 521 1/17/2022
1.4.3 519 1/17/2022
1.4.2 360 1/6/2022
1.4.1 347 12/30/2021
1.4.0 392 12/8/2021
1.3.3 437 10/22/2021
1.3.2 406 10/21/2021
1.3.1 427 10/15/2021
1.3.0 396 10/13/2021
1.2.4.2 396 8/5/2021
1.2.4 396 8/5/2021
1.2.3.2 499 5/21/2021
1.2.3 420 5/19/2021
1.2.1 452 4/7/2021
1.2.0.3 429 4/5/2021
1.2.0.1 580 3/27/2021
1.2.0 409 3/26/2021
1.1.3 452 1/20/2021
1.1.1 507 12/1/2020
1.1.0.5 482 11/12/2020
1.1.0 512 9/15/2020
1.0.9.5 555 9/15/2020
1.0.9.4 557 9/14/2020
1.0.9.3 581 9/9/2020
1.0.9.2 554 9/3/2020
1.0.9.1 576 8/20/2020
1.0.9 764 8/8/2020
1.0.8 587 3/23/2020
1.0.7 569 3/22/2020
1.0.6 623 3/18/2020
1.0.3 576 3/12/2020
1.0.2 626 3/11/2020
1.0.1 629 3/7/2020
1.0.0 646 3/4/2020
0.9.5-beta 435 2/28/2020
0.9.4.5-beta 399 2/26/2020
0.9.4.3-beta 429 2/25/2020
0.9.4-beta 520 2/20/2020
0.9.3.7-beta 399 2/18/2020
0.9.3.6-beta 391 2/17/2020
0.9.3.5-beta 396 2/14/2020
0.9.3.3-beta 408 2/6/2020
0.9.3.1-beta 480 2/2/2020
0.9.3-beta 507 2/2/2020
0.9.2.8-beta 469 1/30/2020
0.9.2.7-beta 434 1/29/2020
0.9.2.6-beta 500 1/28/2020
0.9.2.5-beta 506 1/25/2020
0.9.2.4-beta 466 1/22/2020
0.9.2.3-beta 502 1/19/2020
0.9.2.1-beta 479 1/17/2020
0.9.2-beta 412 1/16/2020
0.9.0-beta 475 1/7/2020