Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

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.

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.