The PrincipalInfo type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| PrincipalInfo |
Initializes a new instance of the PrincipalInfo class.
|
Methods
| Name | Description | |
|---|---|---|
| CreatePrincipal |
Creates a principal object for a user.
| |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| HasPathAccess |
Determines whether the contained principal has access to the specified path.
| |
| IsPermitted | ||
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ToString | (Inherited from Object.) | |
| WindowsIdentityRoles |
Gets the identity roles for a WindowsIdentity.
|
Properties
| Name | Description | |
|---|---|---|
| AnonymousPrincipal |
Gets a principal object representing the an anonoymous principal.
| |
| Current |
Gets a PrincipalInfo object initialized with the current principal.
| |
| CurrentPrincipal |
Gets or sets the current principal.
| |
| HasAdminAccess |
Checks for user access to the /admin pages.
| |
| HasEditAccess |
Checks for user access to the /edit pages.
| |
| Name |
Gets the name of the principal.
| |
| Principal |
Gets the principal used by this instance.
| |
| RoleList |
Gets the list of roles that the principal belongs to.
|