Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
System.Security.Principal.Windows
System Library
| Author | Microsoft |
| Version | 10.0.1 |
| Tags |
Public Types
Microsoft.​Win32.​SafeHandles
class SafeAccessTokenHandle
Provides a safe handle to a Windows thread or process access token. For more information, see Access Tokens.
System.​Security.​Principal
Represents an exception for a principal whose identity could not be mapped to a known identity.
class IdentityReference
Represents an identity and is the base class for the <see cref="T:System.Security.Principal.NTAccount" /> and <see cref="T:System.Security.Principal.SecurityIdentifier" /> classes. This class does not provide a public constructor, and therefore cannot be inherited.
Represents a collection of <see cref="T:System.Security.Principal.IdentityReference" /> objects and provides a means of converting sets of <see cref="T:System.Security.Principal.IdentityReference" /> -derived objects to <see cref="T:System.Security.Principal.IdentityReference" /> -derived types.
class NTAccount
Represents a user or group account.
class SecurityIdentifier
Represents a security identifier (SID) and provides marshaling and comparison operations for SIDs.
enum TokenAccessLevels
Defines the privileges of the user account associated with the access token.
enum WellKnownSidType
Defines a set of commonly used security identifiers (SIDs).
enum WindowsAccountType
Specifies the type of Windows account used.
enum WindowsBuiltInRole
Specifies common roles to be used with <see cref="M:System.Security.Principal.WindowsPrincipal.IsInRole(System.String)" /> .
class WindowsIdentity
Represents a Windows user.
class WindowsPrincipal
Enables code to check the Windows group membership of a Windows user.