Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 2.0
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
.NET Framework Class Library
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
Public classGenericIdentityRepresents a generic user.
Public classGenericPrincipalRepresents a generic principal.
Public classIdentityNotMappedExceptionRepresents an exception for a principal whose identity could not be mapped to a known identity.
Public classIdentityReferenceRepresents 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.
Public classIdentityReferenceCollectionRepresents a collection of IdentityReference objects and provides a means of converting sets of IdentityReference-derived objects to IdentityReference-derived types.
Public classNTAccountRepresents a user or group account.
Public classSecurityIdentifierRepresents a security identifier (SID) and provides marshaling and comparison operations for SIDs.
Public classWindowsIdentityRepresents a Windows user.
Public classWindowsImpersonationContextRepresents the Windows user prior to an impersonation operation.
Public classWindowsPrincipalAllows code to check the Windows group membership of a Windows user.
 InterfaceDescription
Public interfaceIIdentityDefines the basic functionality of an identity object.
Public interfaceIPrincipalDefines the basic functionality of a principal object.
 EnumerationDescription
Public enumerationPrincipalPolicySpecifies how principal and identity objects should be created for an application domain. The default is UnauthenticatedPrincipal.
Public enumerationTokenAccessLevelsDefines the privileges of the user account associated with the access token.
Public enumerationTokenImpersonationLevelDefines security impersonation levels. Security impersonation levels govern the degree to which a server process can act on behalf of a client process.
Public enumerationWellKnownSidTypeDefines a set of commonly used security identifiers (SIDs).
Public enumerationWindowsAccountTypeSpecifies the type of Windows account used.
Public enumerationWindowsBuiltInRoleSpecifies common roles to be used with IsInRole.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker