Skip to main content
System.Security.Principal.Windows package icon

System.Security.Principal.Windows

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 029cf57733b7ec6c1dd8a13857e800b9a8d97192 When using NuGet 3.x this package requires at least version 3.4.

Total Downloads
4.9B
4,851,224,828
Published
Jun 27, 2017
Latest stable version

Install

.NET CLI
dotnet add package System.Security.Principal.Windows --version 4.4.0-preview2-25405-01
Package Manager Console
Install-Package System.Security.Principal.Windows -Version 4.4.0-preview2-25405-01
PackageReference
<PackageReference Include="System.Security.Principal.Windows" Version="4.4.0-preview2-25405-01" />

Frameworks

MonoAndroid1.0 MonoTouch1.0 .NETFramework4.6 .NETFramework4.6.1 .NETCoreApp2.0 .NETStandard1.3 .NETStandard2.0 Xamarin.iOS1.0 Xamarin.Mac2.0 Xamarin.TVOS1.0 Xamarin.WatchOS1.0

Dependencies

System.Security.Claims
.NETFramework4.6
[4.3.0, )
[2.0.0-preview2-25405-01, )
[4.3.0, )
System.Collections
.NETStandard1.3
[4.3.0, )
[4.3.0, )
System.Reflection
.NETStandard1.3
[4.3.0, )
[4.3.0, )
System.Runtime
.NETStandard1.3
[4.3.0, )
[4.3.0, )
System.Runtime.Handles
.NETStandard1.3
[4.3.0, )
[4.3.0, )
System.Security.Claims
.NETStandard1.3
[4.3.0, )
[4.3.0, )
System.Text.Encoding
.NETStandard1.3
[4.3.0, )
System.Threading
.NETStandard1.3
[4.3.0, )

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 11 target frameworks; confirm the exact target used by your application.

The published metadata declares 15 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.