Provides uniform access and manipulation of user, computer, and group security principals across the multiple principal stores: Active Directory Domain Services (AD DS), Active Directory Lightweight Directory Services (AD LDS), and Machine SAM (MSAM).
Info
| Version: | 10.0.0-rc.2.25502.107 |
| Author(s): | Microsoft |
| Last Update: | Tuesday, October 14, 2025 |
| .NET Fiddle: | Online Example |
| Project Url: | https://dot.net/ |
| NuGet Url: | https://www.nuget.org/packages/System.DirectoryServices.AccountManagement |
Install
Install-Package System.DirectoryServices.AccountManagement
dotnet add package System.DirectoryServices.AccountManagement
paket add System.DirectoryServices.AccountManagement
System.DirectoryServices.AccountManagement Download (Unzip the "nupkg" after downloading)
Dependencies
.NETFramework 4.5
No dependencies.
- System.Security.Principal.Windows(>= 5.0.0)
- Microsoft.NETCore.Platforms(>= 5.0.0)
- System.Configuration.ConfigurationManager(>= 5.0.0)
- System.DirectoryServices(>= 5.0.0)
- System.DirectoryServices.Protocols(>= 5.0.0)
- System.IO.FileSystem.AccessControl(>= 5.0.0)
- System.Security.AccessControl(>= 5.0.0)
- System.Security.Principal.Windows(>= 5.0.0)