Vanara.DirectoryServices
5.0.3
Prefix Reserved
dotnet add package Vanara.DirectoryServices --version 5.0.3
NuGet\Install-Package Vanara.DirectoryServices -Version 5.0.3
<PackageReference Include="Vanara.DirectoryServices" Version="5.0.3" />
<PackageVersion Include="Vanara.DirectoryServices" Version="5.0.3" />
<PackageReference Include="Vanara.DirectoryServices" />
paket add Vanara.DirectoryServices --version 5.0.3
#r "nuget: Vanara.DirectoryServices, 5.0.3"
#:package Vanara.DirectoryServices@5.0.3
#addin nuget:?package=Vanara.DirectoryServices&version=5.0.3
#tool nuget:?package=Vanara.DirectoryServices&version=5.0.3
![]()
Vanara.DirectoryServices NuGet Package
Wrapper classes around Win32 ADs methods and interfaces to provide simplified and object-oriented access to Active Directory and other directory service calls.
What is Vanara?
Vanara is a community project that contains various .NET assemblies which have P/Invoke functions, interfaces, enums and structures from Windows libraries. Each assembly is associated with one or a few tightly related libraries.
Issues?
First check if it's already fixed by trying the MyGet build. If you're still running into problems, file an issue.
Included in Vanara.DirectoryServices
| Classes | Interfaces |
|---|---|
| ADsBaseObject ADsCollection ADsComputer ADsComputerOperations ADsContainer ADsDomain ADsFileService ADsFileServiceOperations ADsFileShare ADsGroup ADsMembership ADsObject ADsPrintJob ADsPrintJobOperations ADsPrintQueue ADsPrintQueueOperations ADsPropertyCache ADsResource ADsSchemaClass ADsSchemaProperty ADsSchemaPropertySyntax ADsService ADsServiceOperations ADsSession ADsUser DirectoryObject DirectorySearch SearchResult SearchRow | IADsContainerObject IADsObject |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. 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 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. net8.0-windows7.0 is compatible. 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. net9.0-windows7.0 is compatible. 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. net10.0-windows7.0 is compatible. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 is compatible. 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. |
-
.NETCoreApp 3.1
- Microsoft.Win32.Registry (>= 5.0.0)
- System.Security.AccessControl (>= 6.0.1)
- Vanara.Core (>= 5.0.3)
- Vanara.PInvoke.ActiveDS (>= 5.0.3)
-
.NETFramework 4.8
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Memory (>= 4.6.3)
- Vanara.Core (>= 5.0.3)
- Vanara.PInvoke.ActiveDS (>= 5.0.3)
-
.NETStandard 2.0
- Microsoft.Win32.Registry (>= 5.0.0)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Memory (>= 4.6.3)
- System.Security.AccessControl (>= 6.0.1)
- Vanara.Core (>= 5.0.3)
- Vanara.PInvoke.ActiveDS (>= 5.0.3)
-
.NETStandard 2.1
- Microsoft.Win32.Registry (>= 5.0.0)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.2)
- System.Security.AccessControl (>= 6.0.1)
- Vanara.Core (>= 5.0.3)
- Vanara.PInvoke.ActiveDS (>= 5.0.3)
-
net10.0-windows7.0
- Vanara.Core (>= 5.0.3)
- Vanara.PInvoke.ActiveDS (>= 5.0.3)
-
net5.0
- Vanara.Core (>= 5.0.3)
- Vanara.PInvoke.ActiveDS (>= 5.0.3)
-
net6.0
- Vanara.Core (>= 5.0.3)
- Vanara.PInvoke.ActiveDS (>= 5.0.3)
-
net7.0
- Vanara.Core (>= 5.0.3)
- Vanara.PInvoke.ActiveDS (>= 5.0.3)
-
net8.0-windows7.0
- Vanara.Core (>= 5.0.3)
- Vanara.PInvoke.ActiveDS (>= 5.0.3)
-
net9.0-windows7.0
- Vanara.Core (>= 5.0.3)
- Vanara.PInvoke.ActiveDS (>= 5.0.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Vanara.DirectoryServices:
| Package | Downloads |
|---|---|
|
Vanara.Library
The full set of packages associated with the Vanara PInvoke Libraries. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.0.3 | 53 | 4/9/2026 |
| 5.0.1 | 237 | 3/11/2026 |
| 5.0.0 | 319 | 1/12/2026 |
| 4.2.1 | 1,562 | 9/9/2025 |
| 4.2.0 | 307 | 8/25/2025 |
| 4.1.6 | 239 | 6/20/2025 |
| 4.1.5 | 231 | 6/20/2025 |
| 4.1.4 | 228 | 6/7/2025 |
| 4.1.3 | 523 | 4/24/2025 |
| 4.1.2 | 351 | 4/16/2025 |
| 4.1.1 | 430 | 3/7/2025 |
| 4.1.0 | 387 | 3/7/2025 |
| 4.0.6 | 280 | 2/24/2025 |
| 4.0.5 | 284 | 2/8/2025 |
| 4.0.4 | 471 | 9/13/2024 |
Currently implements:
Classes
ADsBaseObject<T>, ADsCollection<T>, ADsComputer, ADsComputerOperations, ADsContainer, ADsDomain, ADsFileService, ADsFileServiceOperations, ADsFileShare, ADsGroup, ADsMembership, ADsObject, ADsPrintJob, ADsPrintJobOperations, ADsPrintQueue, ADsPrintQueueOperations, ADsPropertyCache, ADsResource, ADsSchemaClass, ADsSchemaProperty, ADsSchemaPropertySyntax, ADsService, ADsServiceOperations, ADsSession, ADsUser, DirectoryObject, DirectorySearch, SearchResult, SearchRow