Export (0) Print
Expand All

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.

Namespace hierarchy

Classes

Class Description
GenericIdentity Represents a generic user.
GenericPrincipal Represents a generic principal.
WindowsIdentity Represents a Windows user.
WindowsImpersonationContext Represents the Windows user prior to an impersonation operation.
WindowsPrincipal Allows code to check the Windows group membership of a Windows user.

Interfaces

Interface Description
IIdentity Defines the basic functionality of an identity object.
IPrincipal Defines the basic functionality of a principal object.

Enumerations

Enumeration Description
PrincipalPolicy Specifies how principal and identity objects should be created for an application domain. The default is UnauthenticatedPrincipal.
WindowsAccountType Specifies the type of Windows account used.
WindowsBuiltInRole Specifies common roles to be used with IsInRole.

See Also

.NET Framework Class Library

Show:
© 2014 Microsoft