Vanara.PInvoke.NTDSApi 3.4.2 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved

.NET 5.0 .NET Core 3.1 .NET Standard 2.0 .NET Framework 4.5
Install-Package Vanara.PInvoke.NTDSApi -Version 3.4.2
dotnet add package Vanara.PInvoke.NTDSApi --version 3.4.2
<PackageReference Include="Vanara.PInvoke.NTDSApi" Version="3.4.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.PInvoke.NTDSApi --version 3.4.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Vanara.PInvoke.NTDSApi, 3.4.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Vanara.PInvoke.NTDSApi as a Cake Addin
#addin nuget:?package=Vanara.PInvoke.NTDSApi&version=3.4.2

// Install Vanara.PInvoke.NTDSApi as a Cake Tool
#tool nuget:?package=Vanara.PInvoke.NTDSApi&version=3.4.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Vanara

Vanara.PInvoke.NTDSApi NuGet Package

Version Build status

PInvoke API (methods, structures and constants) imported from Windows NTDSApi.dll.

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 AppVeyor build. If you're still running into problems, file an issue.

Included in Vanara.PInvoke.NTDSApi

Functions Enumerations Structures
DsAddSidHistory<br>DsBind<br>DsBindByInstance<br>DsBindingSetTimeout<br>DsBindToISTG<br>DsBindWithCred<br>DsBindWithSpn<br>DsBindWithSpnEx<br>DsClientMakeSpnForTargetServer<br>DsCrackNames<br>DsCrackSpn<br>DsCrackUnquotedMangledRdn<br>DsFreeDomainControllerInfo<br>DsFreeNameResult<br>DsFreePasswordCredentials<br>DsFreeSchemaGuidMap<br>DsFreeSpnArray<br>DsGetDomainControllerInfo<br>DsGetRdnW<br>DsGetSpn<br>DsInheritSecurityIdentity<br>DsIsMangledDn<br>DsIsMangledRdnValue<br>DsListDomainsInSite<br>DsListInfoForServer<br>DsListRoles<br>DsListServersForDomainInSite<br>DsListServersInSite<br>DsListSites<br>DsMakePasswordCredentials<br>DsMakeSpn<br>DsMapSchemaGuids<br>DsQuerySitesByCost<br>DsQuerySitesFree<br>DsQuoteRdnValue<br>DsRemoveDsDomain<br>DsRemoveDsServer<br>DsReplicaAdd<br>DsReplicaConsistencyCheck<br>DsReplicaDel<br>DsReplicaFreeInfo<br>DsReplicaGetInfo2W<br>DsReplicaGetInfoW<br>DsReplicaModify<br>DsReplicaSync<br>DsReplicaSyncAll<br>DsReplicaUpdateRefs<br>DsReplicaVerifyObjects<br>DsServerRegisterSpn<br>DsUnBind<br>DsUnquoteRdnValue<br>DsWriteAccountSpn<br> DS_MANGLE_FOR<br>DS_KCC_TASKID<br>DS_NAME_ERROR<br>DS_NAME_FLAGS<br>DS_NAME_FORMAT<br>DS_REPL_INFO_TYPE<br>DS_REPL_OP_TYPE<br>DS_REPSYNCALL_ERROR<br>DS_REPSYNCALL_EVENT<br>DS_SPN_NAME_TYPE<br>DS_SPN_WRITE_OP<br>DsBindFlags<br>DsKCCFlags<br>DsReplicaAddOptions<br>DsReplicaDelOptions<br>DsReplInfoFlags<br>DsReplModFieldFlags<br>DsReplModOptions<br>DsReplNeighborFlags<br>DsReplSyncAllFlags<br>DsReplSyncOptions<br>DsReplUpdateOptions<br>DsReplVerifyOptions<br>DsSchemaGuidType<br>ScheduleType<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> DCInfoHandle<br>DS_DOMAIN_CONTROLLER_INFO_1<br>DS_DOMAIN_CONTROLLER_INFO_2<br>DS_DOMAIN_CONTROLLER_INFO_3<br>DS_NAME_RESULT<br>DS_NAME_RESULT_ITEM<br>DS_REPL_ATTR_META_DATA<br>DS_REPL_ATTR_META_DATA_2<br>DS_REPL_ATTR_META_DATA_BLOB<br>DS_REPL_ATTR_VALUE_META_DATA<br>DS_REPL_ATTR_VALUE_META_DATA_2<br>DS_REPL_ATTR_VALUE_META_DATA_EXT<br>DS_REPL_CURSOR<br>DS_REPL_CURSOR_2<br>DS_REPL_CURSOR_3W<br>DS_REPL_CURSOR_BLOB<br>DS_REPL_CURSORS<br>DS_REPL_CURSORS_2<br>DS_REPL_CURSORS_3W<br>DS_REPL_KCC_DSA_FAILURESW<br>DS_REPL_KCC_DSA_FAILUREW<br>DS_REPL_KCC_DSA_FAILUREW_BLOB<br>DS_REPL_NEIGHBOR<br>DS_REPL_NEIGHBORS<br>DS_REPL_NEIGHBORW_BLOB<br>DS_REPL_OBJ_META_DATA<br>DS_REPL_OBJ_META_DATA_2<br>DS_REPL_OPW<br>DS_REPL_OPW_BLOB<br>DS_REPL_PENDING_OPSW<br>DS_REPL_QUEUE_STATISTICSW<br>DS_REPL_VALUE_META_DATA<br>DS_REPL_VALUE_META_DATA_2<br>DS_REPL_VALUE_META_DATA_BLOB<br>DS_REPL_VALUE_META_DATA_BLOB_EXT<br>DS_REPL_VALUE_META_DATA_EXT<br>DS_REPSYNCALL_ERRINFO<br>DS_REPSYNCALL_UPDATE<br>DS_SCHEMA_GUID_MAP<br>DS_SITE_COST_INFO<br>SCHEDULE_HEADER<br>SpnArrayHandle<br>SCHEDULE<br><br><br><br><br><br><br><br><br><br>
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Vanara.PInvoke.NTDSApi:

Package Downloads
Vanara.Security The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Classes for security related items derived from the Vanara PInvoke libraries. Includes extension methods for Active Directory and access control classes, methods for working with accounts, UAC, privileges, system access, impersonation and SIDs, and a full LSA wrapper.

Vanara.Library The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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
3.4.2 79 5/13/2022
3.4.1 91 5/5/2022
3.4.0 427 3/14/2022
3.3.15 688 12/27/2021
3.3.14 584 10/26/2021
3.3.13 475 9/30/2021
3.3.12 669 8/30/2021
3.3.11 2,425 7/22/2021
3.3.10 581 6/4/2021
3.3.9 766 5/7/2021
3.3.8 489 4/7/2021
3.3.7 506 3/24/2021
3.3.6 507 3/19/2021
3.3.5 474 3/1/2021
3.3.4 435 2/11/2021
3.3.3 446 2/3/2021
3.3.2 516 1/21/2021
3.3.1 509 1/20/2021
3.3.0 977 11/20/2020
3.2.21 541 11/13/2020
3.2.20 3,440 11/8/2020
3.2.19 7,012 10/23/2020
3.2.18 544 10/21/2020
3.2.17 2,119 9/20/2020
3.2.16 585 9/7/2020
3.2.15 605 8/30/2020
3.2.14 572 8/20/2020
3.2.13 616 7/27/2020
3.2.12 591 7/13/2020
3.2.11 666 6/28/2020
3.2.10 675 6/14/2020
3.2.9 653 6/3/2020
3.2.7 640 5/4/2020
3.2.6 663 4/21/2020
3.2.5 615 4/15/2020
3.2.4 641 4/12/2020
3.2.3 642 4/1/2020
3.2.2 586 3/24/2020
3.2.1 580 3/17/2020
3.2.0 846 2/27/2020
3.1.9 803 1/17/2020
3.1.8 643 1/13/2020
3.1.7 641 1/6/2020
3.1.6 690 12/12/2019
3.1.5 776 11/26/2019
3.1.4 647 11/25/2019
3.1.3 796 11/8/2019
3.1.2 629 11/4/2019
3.1.1 901 10/17/2019
3.1.0 604 10/3/2019
3.0.1 676 9/20/2019
3.0.0 691 8/27/2019
2.3.11 665 6/9/2019
2.3.10 605 6/5/2019
2.3.9 611 5/26/2019
2.3.8 756 5/13/2019
2.3.7 620 4/24/2019
2.3.6 596 4/17/2019
2.3.5 709 4/10/2019
2.3.4 658 3/9/2019
2.3.3 575 3/8/2019
2.3.2 610 2/28/2019
2.3.1 591 2/25/2019
2.3.0 615 2/22/2019
2.2.1 632 2/12/2019
2.2.0 653 2/1/2019
2.1.2 740 1/14/2019
2.1.0 830 12/15/2018
2.0.1 700 12/7/2018
2.0.0 705 11/28/2018
1.1.0 784 9/10/2018
1.0.18 835 8/10/2018
1.0.17 786 7/30/2018
1.0.16 795 6/29/2018
1.0.15 854 6/27/2018
1.0.14 904 6/8/2018
1.0.13 870 6/6/2018
1.0.12 925 4/5/2018
1.0.11 902 4/4/2018
1.0.10 902 3/27/2018
1.0.9 875 3/26/2018
1.0.8 908 2/7/2018
1.0.7 887 1/27/2018
1.0.6 940 1/8/2018
1.0.5 901 12/28/2017
1.0.4 978 12/15/2017
1.0.3 863 12/8/2017
1.0.2 874 11/30/2017
1.0.1 850 11/28/2017

Currently implements:

Functions
DsAddSidHistory DsBind DsBindByInstance DsBindingSetTimeout DsBindToISTG DsBindWithCred DsBindWithSpn DsBindWithSpnEx DsClientMakeSpnForTargetServer DsCrackNames DsCrackSpn DsCrackUnquotedMangledRdn DsFreeDomainControllerInfo DsFreeNameResult DsFreePasswordCredentials DsFreeSchemaGuidMap DsFreeSpnArray DsGetDomainControllerInfo DsGetRdnW DsGetSpn DsInheritSecurityIdentity DsIsMangledDn DsIsMangledRdnValue DsListDomainsInSite DsListInfoForServer DsListRoles DsListServersForDomainInSite DsListServersInSite DsListSites DsMakePasswordCredentials DsMakeSpn DsMapSchemaGuids DsQuerySitesByCost DsQuerySitesFree DsQuoteRdnValue DsRemoveDsDomain DsRemoveDsServer DsReplicaAdd DsReplicaConsistencyCheck DsReplicaDel DsReplicaFreeInfo DsReplicaGetInfo2W DsReplicaGetInfoW DsReplicaModify DsReplicaSync DsReplicaSyncAll DsReplicaUpdateRefs DsReplicaVerifyObjects DsServerRegisterSpn DsUnBind DsUnquoteRdnValue DsWriteAccountSpn

Structures
DCInfoHandle DS_DOMAIN_CONTROLLER_INFO_1 DS_DOMAIN_CONTROLLER_INFO_2 DS_DOMAIN_CONTROLLER_INFO_3 DS_NAME_RESULT DS_NAME_RESULT_ITEM DS_REPL_ATTR_META_DATA DS_REPL_ATTR_META_DATA_2 DS_REPL_ATTR_META_DATA_BLOB DS_REPL_ATTR_VALUE_META_DATA DS_REPL_ATTR_VALUE_META_DATA_2 DS_REPL_ATTR_VALUE_META_DATA_EXT DS_REPL_CURSOR DS_REPL_CURSORS DS_REPL_CURSORS_2 DS_REPL_CURSORS_3W DS_REPL_CURSOR_2 DS_REPL_CURSOR_3W DS_REPL_CURSOR_BLOB DS_REPL_KCC_DSA_FAILURESW DS_REPL_KCC_DSA_FAILUREW DS_REPL_KCC_DSA_FAILUREW_BLOB DS_REPL_NEIGHBOR DS_REPL_NEIGHBORS DS_REPL_NEIGHBORW_BLOB DS_REPL_OBJ_META_DATA DS_REPL_OBJ_META_DATA_2 DS_REPL_OPW DS_REPL_OPW_BLOB DS_REPL_PENDING_OPSW DS_REPL_QUEUE_STATISTICSW DS_REPL_VALUE_META_DATA DS_REPL_VALUE_META_DATA_2 DS_REPL_VALUE_META_DATA_BLOB DS_REPL_VALUE_META_DATA_BLOB_EXT DS_REPL_VALUE_META_DATA_EXT DS_REPSYNCALL_ERRINFO DS_REPSYNCALL_UPDATE DS_SCHEMA_GUID_MAP DS_SITE_COST_INFO SCHEDULE SCHEDULE_HEADER SpnArrayHandle