Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

FormsIdentity Methods

The FormsIdentity type exposes the following members.

  Name Description
Public method AddClaim Adds a single claim to this claims identity. (Inherited from ClaimsIdentity.)
Public method AddClaims Adds a list of claims to this claims identity. (Inherited from ClaimsIdentity.)
Public method Clone Gets a copy of the current FormsIdentity instance. (Overrides ClaimsIdentity.Clone().)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FindAll(Predicate<Claim>) Retrieves all of the claims that are matched by the specified predicate. (Inherited from ClaimsIdentity.)
Public method FindAll(String) Retrieves all of the claims that have the specified claim type. (Inherited from ClaimsIdentity.)
Public method FindFirst(Predicate<Claim>) Retrieves the first claim that is matched by the specified predicate. (Inherited from ClaimsIdentity.)
Public method FindFirst(String) Retrieves the first claim with the specified claim type. (Inherited from ClaimsIdentity.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Protected method GetObjectData Populates the SerializationInfo with data needed to serialize the current ClaimsIdentity object. (Inherited from ClaimsIdentity.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method HasClaim(Predicate<Claim>) Determines whether this claims identity has a claim that is matched by the specified predicate. (Inherited from ClaimsIdentity.)
Public method HasClaim(String, String) Determines whether this claims identity has a claim with the specified claim type and value. (Inherited from ClaimsIdentity.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method RemoveClaim Attempts to remove a claim from the claims identity. (Inherited from ClaimsIdentity.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryRemoveClaim Attempts to remove a claim from the claims identity. (Inherited from ClaimsIdentity.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.