Vanara.PInvoke.NTDSApi 4.1.1

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

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 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 DS_MANGLE_FOR DS_KCC_TASKID DS_NAME_ERROR DS_NAME_FLAGS DS_NAME_FORMAT DS_REPL_INFO_TYPE DS_REPL_OP_TYPE DS_REPSYNCALL_ERROR DS_REPSYNCALL_EVENT DS_SPN_NAME_TYPE DS_SPN_WRITE_OP DsBindFlags DsKCCFlags DsReplicaAddOptions DsReplicaDelOptions DsReplInfoFlags DsReplModFieldFlags DsReplModOptions DsReplNeighborFlags DsReplSyncAllFlags DsReplSyncOptions DsReplUpdateOptions DsReplVerifyOptions DsSchemaGuidType ScheduleType 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_CURSOR_2 DS_REPL_CURSOR_3W DS_REPL_CURSOR_BLOB DS_REPL_CURSORS DS_REPL_CURSORS_2 DS_REPL_CURSORS_3W 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_HEADER SpnArrayHandle SCHEDULE
Product 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. 
.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 was computed. 
.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. 
Compatible target framework(s)
Included target framework(s) (in package)
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

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 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
4.1.1 439 25 days ago
4.1.0 334 a month ago
4.0.6 279 a month ago
4.0.5 314 2 months ago
4.0.4 1,841 7 months ago
4.0.3 438 8 months ago
4.0.2 607 9 months ago
4.0.1 924 4/30/2024
4.0.0 389 3/29/2024
4.0.0-beta2 506 1/22/2024
4.0.0-beta 668 11/20/2023
3.4.17 2,480 10/18/2023
3.4.16 1,307 8/7/2023
3.4.15 1,237 5/18/2023
3.4.14 1,312 4/15/2023
3.4.13 2,335 2/4/2023
3.4.12 1,847 1/15/2023
3.4.11 2,007 11/15/2022
3.4.10 2,217 10/25/2022
3.4.9 2,192 10/3/2022
3.4.8 2,177 9/16/2022
3.4.7 2,196 9/3/2022
3.4.6 2,299 8/7/2022
3.4.5 7,081 7/17/2022
3.4.4 2,785 7/5/2022
3.4.3 2,380 6/14/2022
3.4.2 2,810 5/13/2022
3.4.1 2,273 5/5/2022
3.4.0 3,728 3/14/2022
3.3.15 5,705 12/27/2021
3.3.14 1,995 10/26/2021
3.3.13 1,797 9/30/2021
3.3.12 1,987 8/30/2021
3.3.11 9,201 7/22/2021
3.3.10 1,815 6/4/2021
3.3.9 2,081 5/7/2021
3.3.8 1,841 4/7/2021
3.3.7 1,756 3/24/2021
3.3.6 1,746 3/19/2021
3.3.5 1,882 3/1/2021
3.3.4 1,787 2/11/2021
3.3.3 1,734 2/3/2021
3.3.2 1,778 1/21/2021
3.3.1 1,928 1/20/2021
3.3.0 2,542 11/20/2020
3.2.21 1,905 11/13/2020
3.2.20 4,778 11/8/2020
3.2.19 8,624 10/23/2020
3.2.18 1,874 10/21/2020
3.2.17 3,446 9/20/2020
3.2.16 1,942 9/7/2020
3.2.15 1,929 8/30/2020
3.2.14 1,972 8/20/2020
3.2.13 1,955 7/27/2020
3.2.12 1,924 7/13/2020
3.2.11 2,048 6/28/2020
3.2.10 2,105 6/14/2020
3.2.9 2,054 6/3/2020
3.2.7 2,039 5/4/2020
3.2.6 1,996 4/21/2020
3.2.5 1,999 4/15/2020
3.2.4 1,955 4/12/2020
3.2.3 1,949 4/1/2020
3.2.2 1,914 3/24/2020
3.2.1 1,936 3/17/2020
3.2.0 2,300 2/27/2020
3.1.9 2,157 1/17/2020
3.1.8 2,042 1/13/2020
3.1.7 2,035 1/6/2020
3.1.6 2,029 12/12/2019
3.1.5 2,138 11/26/2019
3.1.4 2,053 11/25/2019
3.1.3 2,255 11/8/2019
3.1.2 2,048 11/4/2019
3.1.1 2,184 10/17/2019
3.1.0 1,992 10/3/2019
3.0.1 1,922 9/20/2019
3.0.0 1,984 8/27/2019
2.3.11 1,893 6/9/2019
2.3.10 1,774 6/5/2019
2.3.9 1,783 5/26/2019
2.3.8 1,872 5/13/2019
2.3.7 1,795 4/24/2019
2.3.6 1,797 4/17/2019
2.3.5 1,917 4/10/2019
2.3.4 1,829 3/9/2019
2.3.3 1,774 3/8/2019
2.3.2 1,819 2/28/2019
2.3.1 1,818 2/25/2019
2.3.0 1,785 2/22/2019
2.2.1 1,784 2/12/2019
2.2.0 1,818 2/1/2019
2.1.2 1,906 1/14/2019
2.1.0 2,048 12/15/2018
2.0.1 1,885 12/7/2018
2.0.0 1,875 11/28/2018
1.1.0 2,010 9/10/2018
1.0.18 2,032 8/10/2018
1.0.17 2,020 7/30/2018
1.0.16 2,020 6/29/2018
1.0.15 2,109 6/27/2018
1.0.14 2,188 6/8/2018
1.0.13 2,152 6/6/2018
1.0.12 2,215 4/5/2018
1.0.11 2,194 4/4/2018
1.0.10 2,179 3/27/2018
1.0.9 2,160 3/26/2018
1.0.8 2,181 2/7/2018
1.0.7 2,183 1/27/2018
1.0.6 2,228 1/8/2018
1.0.5 2,211 12/28/2017
1.0.4 2,322 12/15/2017
1.0.3 2,113 12/8/2017
1.0.2 2,126 11/30/2017
1.0.1 2,097 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