ClaimsPrincipal Methods
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | AddIdentities(IEnumerable<ClaimsIdentity>) | Adds the specified claims identities to this claims principal. |
![]() | AddIdentity(ClaimsIdentity) | Adds the specified claims identity to this claims principal. |
![]() | Clone() | Returns a copy of this instance. |
![]() | CreateClaimsIdentity(BinaryReader) | Creates a new claims identity. |
![]() | 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. |
![]() | FindAll(String) | Retrieves all or the claims that have the specified claim type. |
![]() | FindFirst(Predicate<Claim>) | Retrieves the first claim that is matched by the specified predicate. |
![]() | FindFirst(String) | Retrieves the first claim with the specified claim type. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetObjectData(SerializationInfo, StreamingContext) | Populates the SerializationInfo with data needed to serialize the current ClaimsPrincipal object. |
![]() | 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. |
![]() | 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. |
![]() | IsInRole(String) | Returns a value that indicates whether the entity (user) represented by this claims principal is in the specified role. |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() | WriteTo(BinaryWriter) | |
![]() | WriteTo(BinaryWriter, Byte[]) |

