This documentation is archived and is not being maintained.
System.Security.Principal Namespace
.NET Framework 1.1
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. |
| 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
Show: