RolePrincipal Methods
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() | AddIdentities(IEnumerable<ClaimsIdentity^>^) | Adds the specified claims identities to this claims principal.(Inherited from ClaimsPrincipal.) |
![]() | AddIdentity(ClaimsIdentity^) | Adds the specified claims identity to this claims principal.(Inherited from ClaimsPrincipal.) |
![]() | Clone() | Returns a copy of this instance.(Inherited from ClaimsPrincipal.) |
![]() | CreateClaimsIdentity(BinaryReader^) | Creates a new claims identity.(Inherited from ClaimsPrincipal.) |
![]() | Equals(Object^) | 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.) |
![]() | FindAll(Predicate<Claim^>^) | Retrieves all of the claims that are matched by the specified predicate.(Inherited from ClaimsPrincipal.) |
![]() | FindAll(String^) | Retrieves all or the claims that have the specified claim type.(Inherited from ClaimsPrincipal.) |
![]() | FindFirst(Predicate<Claim^>^) | Retrieves the first claim that is matched by the specified predicate.(Inherited from ClaimsPrincipal.) |
![]() | FindFirst(String^) | Retrieves the first claim with the specified claim type.(Inherited from ClaimsPrincipal.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetObjectData(SerializationInfo^, StreamingContext) | Populates a SerializationInfo object with the data that is required in order to serialize the target object using the specified streaming context.(Overrides ClaimsPrincipal::GetObjectData(SerializationInfo^, StreamingContext).) |
![]() | GetRoles() | Gets a list of roles that the RolePrincipal is a member of. |
![]() | GetType() | |
![]() | HasClaim(Predicate<Claim^>^) | Determines whether any of the claims identities associated with this claims principal contains a claim that is matched by the specified predicate.(Inherited from ClaimsPrincipal.) |
![]() | HasClaim(String^, String^) | Determines whether any of the claims identities associated with this claims principal contains a claim with the specified claim type and value.(Inherited from ClaimsPrincipal.) |
![]() | IsInRole(String^) | Gets a value indicating whether the user represented by the RolePrincipal is in the specified role.(Overrides ClaimsPrincipal::IsInRole(String^).) |
![]() | MemberwiseClone() | |
![]() | 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.) |
![]() | WriteTo(BinaryWriter^) | (Inherited from ClaimsPrincipal.) |
![]() | WriteTo(BinaryWriter^, array<Byte>^) | (Inherited from ClaimsPrincipal.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ISerializable::GetObjectData(SerializationInfo^, StreamingContext) | For a description of this member, see GetObjectData. |



