This documentation is archived and is not being maintained.
RolePrincipal Members
Visual Studio 2008
Represents security information for the current HTTP request, including role membership. This class cannot be inherited.
The RolePrincipal type exposes the following members.
| Name | Description | |
|---|---|---|
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetRoles | Gets a list of roles that the RolePrincipal is a member of. |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
IsInRole | Gets a value indicating whether the user represented by the RolePrincipal is in the specified role. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
SetDirty | Marks the cached role list as having been changed. |
|
ToEncryptedTicket | Returns the role information cached with the RolePrincipal object encrypted based on the CookieProtectionValue. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
CachedListChanged | Gets a value indicating whether the list of role names cached with the RolePrincipal object has been modified. |
|
CookiePath | Gets the path for the cached role names cookie. |
|
Expired | Gets a value indicating whether the roles cookie has expired. |
|
ExpireDate | Gets the date and time when the roles cookie will expire. |
|
Identity | Gets the security identity for the current HTTP request. |
|
IsRoleListCached | Gets a value indicating whether the list of roles for the user has been cached in a cookie. |
|
IssueDate | Gets the date and time that the roles cookie was issued. |
|
ProviderName | Gets the name of the role provider that stores and retrieves role information for the user. |
|
Version | Gets the version number of the roles cookie. |
| Name | Description | |
|---|---|---|
|
ISerializable.GetObjectData | For a description of this member, see GetObjectData. |
Show: