System.Security.Principal.Windows 4.3.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 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.3.0
dotnet add package System.Security.Principal.Windows --version 4.3.0
<PackageReference Include="System.Security.Principal.Windows" Version="4.3.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.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: System.Security.Principal.Windows, 4.3.0"
#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 System.Security.Principal.Windows as a Cake Addin
#addin nuget:?package=System.Security.Principal.Windows&version=4.3.0

// Install System.Security.Principal.Windows as a Cake Tool
#tool nuget:?package=System.Security.Principal.Windows&version=4.3.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 (20)

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

Package Downloads
Microsoft.AspNet.DataProtection
ASP.NET 5 logic to protect and unprotect data, similar to DPAPI.
Microsoft.AspNetCore.Server.IISIntegration
ASP.NET Core components for working with the IIS AspNetCoreModule. This package was built from the source code at https://github.com/aspnet/AspNetCore/tree/ce8cf65589734f82b0536c543aba5bd60d0a5a98
Microsoft.AspNetCore.Server.HttpSys
ASP.NET Core HTTP server that uses the Windows HTTP Server API. This package was built from the source code at https://github.com/aspnet/HttpSysServer/tree/3e08bf8833827737a5bd1b64210c7a5e8e2941ec
Microsoft.AspNetCore.DataProtection
ASP.NET Core logic to protect and unprotect data, similar to DPAPI. This package was built from the source code at https://github.com/aspnet/AspNetCore/tree/ce8cf65589734f82b0536c543aba5bd60d0a5a98
Microsoft.AspNetCore.Http.Connections
Components for providing real-time bi-directional communication across the Web.

Version History

Version Downloads Last updated
5.0.0 0 06.02.2022
4.7.0 0 06.02.2022
4.5.0 0 06.02.2022
4.4.0 0 06.02.2022
4.3.0 0 06.02.2022
4.0.0 0 06.02.2022