The System.Security.Principal namespace defines a principal object that represents the security context under which code is running. For more information, see the conceptual topic at MSDN: role-basedsecurity.
| Class | Description |
|---|---|
| class GenericIdentity | Represents a generic user. |
| class GenericPrincipal | Represents a generic principal. |
| Interface | Description |
|---|---|
| interface IIdentity | Defines the basic functionality of an identity object. |
| interface IPrincipal | Defines the basic functionality of a principal object. |
| Enumeration | Description |
|---|---|
| enumeration PrincipalPolicy | Specifies how principal and identity objects should be created for an application domain. The default is . |