Skip to main content

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.

Total Downloads
5.0B
4,977,821,921
Published
Nov 9, 2020
6y ago

Get Started

dotnet add package System.Security.Principal.Windows --version 5.0.0
ProductVersions
.NET Standard
netstandard1.3netstandard2.0
Universal Windows Platform
uap10.0.16299
Other
.NETCoreApp2.0.NETCoreApp2.1.NETCoreApp3.0.NETFramework4.6.NETFramework4.6.1

Downloads by Version

Depended On By

Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.

Adoption Assessment

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

Compatibility metadata lists 8 target frameworks; confirm the exact target used by your application.The published metadata declares 16 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.