System.Security.Principal
MSDN Home
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 2.0
Class Library Reference
System.Security.Principal
GenericIdentity Class
GenericPrincipal Class
IdentityNotMappedException Cla ...
IdentityReference Class
IdentityReferenceCollection Cl ...
IIdentity Interface
IPrincipal Interface
NTAccount Class
PrincipalPolicy Enumeration
SecurityIdentifier Class
TokenAccessLevels Enumeration
TokenImpersonationLevel Enumer ...
WellKnownSidType Enumeration
WindowsAccountType Enumeration
WindowsBuiltInRole Enumeration
WindowsIdentity Class
WindowsImpersonationContext Cl ...
WindowsPrincipal Class
Class Library Reference
( Default Namespace )
Accessibility
IEHost.Execute
Microsoft.Aspnet.Snapin
Microsoft.Build.BuildEngine
Microsoft.Build.Framework
Microsoft.Build.Tasks
Microsoft.Build.Tasks.Deployme ...
Microsoft.Build.Tasks.Deployme ...
Microsoft.Build.Tasks.Hosting
Microsoft.Build.Utilities
Microsoft.CLRAdmin
Microsoft.CSharp
Microsoft.IE
Microsoft.JScript
Microsoft.JScript.Vsa
Microsoft.SqlServer.Server
Microsoft.VisualBasic
Microsoft.VisualBasic.Applicat ...
Microsoft.VisualBasic.Compiler ...
Microsoft.VisualBasic.Devices
Microsoft.VisualBasic.FileIO
Microsoft.VisualBasic.Logging
Microsoft.VisualBasic.MyServic ...
Microsoft.VisualBasic.MyServic ...
Microsoft.VisualBasic.Vsa
Microsoft.VisualC
Microsoft.Vsa
Microsoft.Vsa.Vb.CodeDOM
Microsoft.Win32
Microsoft.Win32.SafeHandles
Microsoft.WindowsCE.Forms
Microsoft.WindowsMobile.Direct ...
Microsoft.WindowsMobile.Direct ...
Microsoft_VsaVb
System
System.CodeDom
System.CodeDom.Compiler
System.Collections
System.Collections.Generic
System.Collections.ObjectModel
System.Collections.Specialized
System.ComponentModel
System.ComponentModel.Design
System.ComponentModel.Design.D ...
System.ComponentModel.Design.S ...
System.Configuration
System.Configuration.Assemblie ...
System.Configuration.Install
System.Configuration.Internal
System.Configuration.Provider
System.Data
System.Data.Common
System.Data.Design
System.Data.Odbc
System.Data.OleDb
System.Data.OracleClient
System.Data.Sql
System.Data.SqlClient
System.Data.SqlServerCe
System.Data.SqlTypes
System.Deployment.Application
System.Deployment.Internal
System.Diagnostics
System.Diagnostics.CodeAnalysi ...
System.Diagnostics.Design
System.Diagnostics.SymbolStore
System.DirectoryServices
System.DirectoryServices.Activ ...
System.DirectoryServices.Proto ...
System.Drawing
System.Drawing.Design
System.Drawing.Drawing2D
System.Drawing.Imaging
System.Drawing.Printing
System.Drawing.Text
System.EnterpriseServices
System.EnterpriseServices.Comp ...
System.EnterpriseServices.Inte ...
System.Globalization
System.IO
System.IO.Compression
System.IO.IsolatedStorage
System.IO.Ports
System.Management
System.Management.Instrumentat ...
System.Media
System.Messaging
System.Messaging.Design
System.Net
System.Net.Cache
System.Net.Configuration
System.Net.Mail
System.Net.Mime
System.Net.NetworkInformation
System.Net.Security
System.Net.Sockets
System.Reflection
System.Reflection.Emit
System.Resources
System.Resources.Tools
System.Runtime
System.Runtime.CompilerService ...
System.Runtime.ConstrainedExec ...
System.Runtime.Hosting
System.Runtime.InteropServices
System.Runtime.InteropServices ...
System.Runtime.InteropServices ...
System.Runtime.InteropServices ...
System.Runtime.Remoting
System.Runtime.Remoting.Activa ...
System.Runtime.Remoting.Channe ...
System.Runtime.Remoting.Channe ...
System.Runtime.Remoting.Channe ...
System.Runtime.Remoting.Channe ...
System.Runtime.Remoting.Contex ...
System.Runtime.Remoting.Lifeti ...
System.Runtime.Remoting.Messag ...
System.Runtime.Remoting.Metada ...
System.Runtime.Remoting.Metada ...
System.Runtime.Remoting.Metada ...
System.Runtime.Remoting.Proxie ...
System.Runtime.Remoting.Servic ...
System.Runtime.Serialization
System.Runtime.Serialization.F ...
System.Runtime.Serialization.F ...
System.Runtime.Serialization.F ...
System.Runtime.Versioning
System.Security
System.Security.AccessControl
System.Security.Authentication
System.Security.Cryptography
System.Security.Cryptography.P ...
System.Security.Cryptography.X ...
System.Security.Cryptography.X ...
System.Security.Permissions
System.Security.Policy
System.Security.Principal
System.ServiceProcess
System.ServiceProcess.Design
System.Text
System.Text.RegularExpressions
System.Threading
System.Timers
System.Transactions
System.Transactions.Configurat ...
System.Web
System.Web.Caching
System.Web.Compilation
System.Web.Configuration
System.Web.Configuration.Inter ...
System.Web.Handlers
System.Web.Hosting
System.Web.Mail
System.Web.Management
System.Web.Mobile
System.Web.Profile
System.Web.RegularExpressions
System.Web.Security
System.Web.Services
System.Web.Services.Configurat ...
System.Web.Services.Descriptio ...
System.Web.Services.Discovery
System.Web.Services.Protocols
System.Web.SessionState
System.Web.UI
System.Web.UI.Adapters
System.Web.UI.Design
System.Web.UI.Design.MobileCon ...
System.Web.UI.Design.MobileCon ...
System.Web.UI.Design.WebContro ...
System.Web.UI.Design.WebContro ...
System.Web.UI.HtmlControls
System.Web.UI.MobileControls
System.Web.UI.MobileControls.A ...
System.Web.UI.MobileControls.A ...
System.Web.UI.WebControls
System.Web.UI.WebControls.Adap ...
System.Web.UI.WebControls.WebP ...
System.Web.Util
System.Windows.Forms
System.Windows.Forms.Component ...
System.Windows.Forms.Design
System.Windows.Forms.Design.Be ...
System.Windows.Forms.Layout
System.Windows.Forms.PropertyG ...
System.Windows.Forms.VisualSty ...
System.Xml
System.Xml.Schema
System.Xml.Serialization
System.Xml.Serialization.Advan ...
System.Xml.Serialization.Confi ...
System.Xml.XPath
System.Xml.Xsl
System.Xml.Xsl.Runtime
Switch View :
Classic
Lightweight Beta
ScriptFree
Feedback
.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
.
Classes
Class
Description
GenericIdentity
Represents a generic user.
GenericPrincipal
Represents a generic principal.
IdentityNotMappedException
Represents an exception for a principal whose identity could not be mapped to a known identity.
IdentityReference
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.
IdentityReferenceCollection
Represents a collection of
IdentityReference
objects and provides a means of converting sets of
IdentityReference
-derived objects to
IdentityReference
-derived types.
NTAccount
Represents a user or group account.
SecurityIdentifier
Represents a security identifier (SID) and provides marshaling and comparison operations for SIDs.
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
.
TokenAccessLevels
Defines the privileges of the user account associated with the access token.
TokenImpersonationLevel
Defines security impersonation levels. Security impersonation levels govern the degree to which a server process can act on behalf of a client process.
WellKnownSidType
Defines a set of commonly used security identifiers (SIDs).
WindowsAccountType
Specifies the type of Windows account used.
WindowsBuiltInRole
Specifies common roles to be used with
IsInRole
.
Tags :