System.Security.Principal.Windows 4.7.0

Provides classes for retrieving the current Windows user and for interacting with Windows users and groups.

Commonly Used Types:
System.Security.Principal.WindowsIdentity
System.Security.Principal.SecurityIdentifier
System.Security.Principal.NTAccount
System.Security.Principal.WindowsPrincipal
System.Security.Principal.IdentityReference
System.Security.Principal.IdentityNotMappedException
System.Security.Principal.WindowsBuiltInRole
System.Security.Principal.WellKnownSidType

When using NuGet 3.x this package requires at least version 3.4.

There is a newer prerelease version of this package available.
See the version list below for details.

Requires NuGet 2.12 or higher.

Install-Package System.Security.Principal.Windows -Version 4.7.0
dotnet add package System.Security.Principal.Windows --version 4.7.0
<PackageReference Include="System.Security.Principal.Windows" Version="4.7.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add System.Security.Principal.Windows --version 4.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

https://go.microsoft.com/fwlink/?LinkID=799421

Showing the top 10 GitHub repositories that depend on System.Security.Principal.Windows:

Repository Stars
PowerShell/PowerShell
PowerShell for every system!
NancyFx/Nancy
Lightweight, low-ceremony, framework for building HTTP based services on .Net and Mono
dotnet/machinelearning
ML.NET is an open source and cross-platform machine learning framework for .NET.
IdentityServer/IdentityServer4
OpenID Connect and OAuth 2.0 Framework for ASP.NET Core
microsoft/ailab
Experience, Learn and Code the latest breakthrough innovations with Microsoft AI
NLog/NLog
NLog - Advanced and Structured Logging for Various .NET Platforms
dotnet/wpf
WPF is a .NET Core UI framework for building Windows desktop applications.
microsoft/msbuild
The Microsoft Build Engine (MSBuild) is the build platform for .NET and Visual Studio.
Radarr/Radarr
A fork of Sonarr to work with movies à la Couchpotato.
abpframework/abp
Open Source Web Application Framework for ASP.NET Core

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
5.0.0-preview.4.20251.6 5,081 5/18/2020
5.0.0-preview.3.20214.6 11,224 4/23/2020
5.0.0-preview.2.20160.6 14,661 4/2/2020
5.0.0-preview.1.20120.5 13,292 3/16/2020
4.7.0 12,079,712 12/3/2019
4.7.0-preview3.19551.4 32,026 11/13/2019
4.7.0-preview2.19523.17 17,479 11/1/2019
4.7.0-preview1.19504.10 40,808 10/15/2019
4.6.0 9,601,106 9/23/2019
4.6.0-rc1.19456.4 26,380 9/16/2019
4.6.0-preview9.19421.4 42,060 9/4/2019
4.6.0-preview9.19416.11 126 9/4/2019
4.6.0-preview8.19405.3 86,693 8/13/2019
4.6.0-preview7.19362.9 85,106 7/23/2019
4.6.0-preview6.19303.8 206,529 6/12/2019
4.6.0-preview6.19264.9 160 9/4/2019
4.6.0-preview5.19224.8 107,954 5/6/2019
4.6.0-preview4.19212.13 62,158 4/18/2019
4.6.0-preview3.19128.7 110,724 3/6/2019
4.6.0-preview.19073.11 73,536 1/29/2019
4.6.0-preview.18571.3 106,754 12/3/2018
4.5.1 14,202,587 10/1/2018
4.5.0 28,917,270 5/29/2018
4.5.0-rc1 234,630 5/6/2018
4.5.0-preview2-26406-04 229,505 4/10/2018
4.5.0-preview1-26216-02 349,362 2/26/2018
4.5.0-preview1-25914-04 244,065 11/15/2017
4.4.1 1,160,893 12/12/2017
4.4.0 42,041,781 8/11/2017
4.4.0-preview2-25405-01 199,197 6/27/2017
4.4.0-preview1-25305-02 755,202 5/9/2017
4.3.0 23,849,531 11/15/2016
4.3.0-preview1-24530-04 121,901 10/24/2016
4.0.0 57,360,222 6/27/2016
4.0.0-rc2-24027 2,321,743 5/16/2016
4.0.0-beta-23516 268,179 11/18/2015
4.0.0-beta-23409 37,703 10/15/2015
4.0.0-beta-23225 41,622 9/2/2015
4.0.0-beta-23123 4,913 7/29/2015
4.0.0-beta-23109 59,080 7/27/2015
4.0.0-beta-23019 48,185 6/30/2015
4.0.0-beta-22816 39,422 4/24/2015
4.0.0-beta-22605 14,775 2/13/2015
4.0.0-beta-22416 7,430 1/16/2015
4.0.0-beta-22231 24,143 11/11/2014