Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

System.Security.Principal Namespace

 

The System.Security.Principal namespace defines a principal object that represents the security context under which code is running. For more information, see Role-Based Security.

ClassDescription
System_CAPS_pubclassGenericIdentity

Represents a generic user.

System_CAPS_pubclassGenericPrincipal

Represents a generic principal.

System_CAPS_pubclassIdentityNotMappedException

Represents an exception for a principal whose identity could not be mapped to a known identity.

System_CAPS_pubclassIdentityReference

Represents an identity and is the base class for the NTAccount and SecurityIdentifier classes. This class does not provide a public constructor, and therefore cannot be inherited.

System_CAPS_pubclassIdentityReferenceCollection

Represents a collection of IdentityReference objects and provides a means of converting sets of IdentityReference-derived objects to IdentityReference-derived types.

System_CAPS_pubclassNTAccount

Represents a user or group account.

System_CAPS_pubclassSecurityIdentifier

Represents a security identifier (SID) and provides marshaling and comparison operations for SIDs.

System_CAPS_pubclassWindowsIdentity

Represents a Windows user.

System_CAPS_pubclassWindowsImpersonationContext

Represents the Windows user prior to an impersonation operation.

System_CAPS_pubclassWindowsPrincipal

Enables code to check the Windows group membership of a Windows user.

InterfaceDescription
System_CAPS_pubinterfaceIIdentity

Defines the basic functionality of an identity object.

System_CAPS_pubinterfaceIPrincipal

Defines the basic functionality of a principal object.

EnumerationDescription
System_CAPS_pubenumPrincipalPolicy

Specifies how principal and identity objects should be created for an application domain. The default is UnauthenticatedPrincipal.

System_CAPS_pubenumTokenAccessLevels

Defines the privileges of the user account associated with the access token.

System_CAPS_pubenumTokenImpersonationLevel

Defines security impersonation levels. Security impersonation levels govern the degree to which a server process can act on behalf of a client process.

System_CAPS_pubenumWellKnownSidType

Defines a set of commonly used security identifiers (SIDs).

System_CAPS_pubenumWindowsAccountType

Specifies the type of Windows account used.

System_CAPS_pubenumWindowsBuiltInRole

Specifies common roles to be used with IsInRole.

Return to top
Show:
© 2017 Microsoft