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

NuGet packages (276)

Showing the top 5 NuGet packages that depend on System.Security.Principal.Windows:

Package Downloads
Microsoft.Win32.Registry
Provides support for accessing and modifying the Windows Registry. Commonly Used Types: Microsoft.Win32.RegistryKey Microsoft.Win32.Registry Microsoft.Win32.RegistryValueKind Microsoft.Win32.RegistryHive Microsoft.Win32.RegistryView When using NuGet 3.x this package requires at least version 3.4.
System.Security.AccessControl
Provides base classes that enable managing access and audit control lists on securable objects. Commonly Used Types: System.Security.AccessControl.AccessRule System.Security.AccessControl.AuditRule System.Security.AccessControl.ObjectAccessRule System.Security.AccessControl.ObjectAuditRule System.Security.AccessControl.ObjectSecurity When using NuGet 3.x this package requires at least version 3.4.
System.Data.SqlClient
Provides the data provider for SQL Server. These classes provide access to versions of SQL Server and encapsulate database-specific protocols, including tabular data stream (TDS) Commonly Used Types: System.Data.SqlClient.SqlConnection System.Data.SqlClient.SqlException System.Data.SqlClient.SqlParameter System.Data.SqlDbType System.Data.SqlClient.SqlDataReader System.Data.SqlClient.SqlCommand System.Data.SqlClient.SqlTransaction System.Data.SqlClient.SqlParameterCollection System.Data.SqlClient.SqlClientFactory When using NuGet 3.x this package requires at least version 3.4.
System.Net.Security
Provides types, such as System.Net.Security.SslStream, that uses SSL/TLS protocols to provide secure network communication between client and server endpoints. Commonly Used Types: System.Net.Security.SslStream System.Net.Security.ExtendedProtectionPolicy When using NuGet 3.x this package requires at least version 3.4.
System.Net.NameResolution
Provides the System.Net.Dns class, which enables developers to perform simple domain name resolution. Commonly Used Types: System.Net.Dns System.Net.IPHostEntry When using NuGet 3.x this package requires at least version 3.4.

GitHub repositories (106)

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

Repository Stars
PowerShell/PowerShell
PowerShell for every system!
cefsharp/CefSharp
.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
IdentityServer/IdentityServer4
OpenID Connect and OAuth 2.0 Framework for ASP.NET Core
dotnet/machinelearning
ML.NET is an open source and cross-platform machine learning framework for .NET.
NancyFx/Nancy
Lightweight, low-ceremony, framework for building HTTP based services on .Net and Mono

Version History

Version Downloads Last updated
5.0.0-rc.2.20475.5 11,502 10/13/2020
5.0.0-rc.1.20451.14 31,965 9/14/2020
5.0.0-preview.8.20407.11 28,531 8/25/2020
5.0.0-preview.7.20364.11 42,930 7/21/2020
5.0.0-preview.6.20305.6 32,028 6/25/2020
5.0.0-preview.5.20278.1 27,892 6/10/2020
5.0.0-preview.4.20251.6 37,364 5/18/2020
5.0.0-preview.3.20214.6 31,666 4/23/2020
5.0.0-preview.2.20160.6 35,375 4/2/2020
5.0.0-preview.1.20120.5 30,331 3/16/2020
4.7.0 35,088,984 12/3/2019
4.7.0-preview3.19551.4 43,883 11/13/2019
4.7.0-preview2.19523.17 21,971 11/1/2019
4.7.0-preview1.19504.10 50,106 10/15/2019
4.6.0 16,774,631 9/23/2019
4.6.0-rc1.19456.4 30,401 9/16/2019
4.6.0-preview9.19421.4 46,300 9/4/2019
4.6.0-preview9.19416.11 601 9/4/2019
4.6.0-preview8.19405.3 99,900 8/13/2019
4.6.0-preview7.19362.9 106,040 7/23/2019
4.6.0-preview6.19303.8 344,655 6/12/2019
4.6.0-preview6.19264.9 622 9/4/2019
4.6.0-preview5.19224.8 119,346 5/6/2019
4.6.0-preview4.19212.13 83,982 4/18/2019
4.6.0-preview3.19128.7 130,428 3/6/2019
4.6.0-preview.19073.11 79,032 1/29/2019
4.6.0-preview.18571.3 119,673 12/3/2018
4.5.1 17,522,467 10/1/2018
4.5.0 50,420,658 5/29/2018
4.5.0-rc1 273,103 5/6/2018
4.5.0-preview2-26406-04 287,313 4/10/2018
4.5.0-preview1-26216-02 375,133 2/26/2018
4.5.0-preview1-25914-04 272,838 11/15/2017
4.4.1 1,593,393 12/12/2017
4.4.0 55,750,202 8/11/2017
4.4.0-preview2-25405-01 206,525 6/27/2017
4.4.0-preview1-25305-02 880,197 5/9/2017
4.3.0 40,592,124 11/15/2016
4.3.0-preview1-24530-04 141,847 10/24/2016
4.0.0 72,244,316 6/27/2016
4.0.0-rc2-24027 2,404,139 5/16/2016
4.0.0-beta-23516 268,916 11/18/2015
4.0.0-beta-23409 38,125 10/15/2015
4.0.0-beta-23225 42,039 9/2/2015
4.0.0-beta-23123 5,346 7/29/2015
4.0.0-beta-23109 59,492 7/27/2015
4.0.0-beta-23019 48,628 6/30/2015
4.0.0-beta-22816 39,909 4/24/2015
4.0.0-beta-22605 15,205 2/13/2015
4.0.0-beta-22416 7,825 1/16/2015
4.0.0-beta-22231 24,550 11/11/2014
Show less