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
dotnet add package System.Security.Principal.Windows --version 4.0.0-beta-22416
Install-Package System.Security.Principal.Windows -Version 4.0.0-beta-22416
| 包名 | 版本要求 |
|---|---|
| System.Runtime | [4.0.0-beta-22416, ) |
| System.Security.Claims | [4.0.0-beta-22416, ) |
| System.Security.Principal | [4.0.0-beta-22416, ) |
| 作者 | Microsoft |
|---|---|
| 发布时间 | 2015-01-16 15:38:53 |
| 许可证 | http://go.microsoft.com/fwlink/?LinkId=329770 |