RolePrincipal Methods
.NET Framework 2.0
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Equals |
Overloaded.
Determines whether two Object instances are equal.
(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.
|
| ReferenceEquals |
Determines whether the specified Object instances are the same instance.
(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 | |
|---|---|---|
| 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)
|
| MemberwiseClone |
Creates a shallow copy of the current Object.
(inherited from
Object)
|
| Name | Description | |
|---|---|---|
| System.Runtime.Serialization.ISerializable.GetObjectData |
For a description of this member, see GetObjectData.
|
Reference
RolePrincipal ClassSystem.Web.Security Namespace
Other Resources
Managing Authorization Using RolesCommunity Additions
ADD
Show: