United States - English
Argentina (Español)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
中国 (简体中文)
Colombia (Español)
Deutschland (Deutsch)
España (Español)
France (Français)
India (English)
Italia (Italiano)
日本 (日本語)
México (Español)
Perú (Español)
Россия (Pусский)
United Kingdom (English)
United States (English)
More...
Microsoft.com
Product Families
Office
Windows
Windows Server System
Windows Mobile
Developer Tools
Business Solutions
Games & Xbox
MSN
Resources
Microsoft Update
Office Update
Download Center
Help & Support
Security
Volume Licensing
About Microsoft
Company Information
Investor Relations
PressPass for journalists
Popular Places
MSDN (Developers)
TechNet (IT Pros)
Microsoft At Home
Microsoft At Work
Business & Industry
Microsoft partners
Microsoft hardware
Product catalog
Mactopia
Microsoft.com site map
Popular Searches
Templates
ActiveSync
Clip art
Popular Downloads
Windows Defender Beta 2
DirectX End-User Runtime
More popular downloads
Welcome
Sign in
Developer Centers
MSDN Home
.NET Framework Developer Center
Home
Library
Learn
Downloads
Support
Community
Forums
Printer Friendly Version
Send
Add Content...
Click to Rate and Give Feedback
Give feedback on this content
MSDN Library
MSDN
Please Wait
MSDN Library
Please Wait
.NET Development
Please Wait
Previous Versions
Please Wait
.NET Framework 2.0
Please Wait
Class Library Reference
Please Wait
System.Security.Principal
Please Wait
Collapse All
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0
Other versions are also available for the following:
Microsoft Visual Studio 2003/.NET Framework 1.1
.NET Framework 3.0
Microsoft Visual Studio 2008/.NET Framework 3.5
Want more? Here are some additional resources on this topic:
GenericPrincipal Class (System.Security.Principal)
IPrincipal Interface (System.Security.Principal)
.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
:
Add a tag
Add
Cancel
Flag as
ContentBug
Community Content
Add new content
Annotations
|
Edit
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
Manage Your Profile
|
Legal
|
Contact Us
|
MSDN Flash Newsletter
© 2008 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement