共用方式為


SPClaim Members

Include Protected Members
Include Inherited Members

Encapsulates the data for a specified claim.

The SPClaim type exposes the following members.

Constructors

  Name Description
Public method SPClaim Initializes a new instance of a SharePoint claim object by using the specified type, value, value type, and original issuer.

Top

Properties

  Name Description
Public property ClaimType Gets the claim type of the current claim.
Public property OriginalIssuer Gets the original issuer of a particular claim.
Public property Value Gets the value of the current claim.
Public property ValueType Gets the value type of the current claim.

Top

Methods

  Name Description
Public methodStatic member EqualClaimValues Determines whether two claim values (see SPClaimValueTypes) have the same value by using appropriate comparison.
Public method Equals Determines whether the specified object is equal to the current claim. (Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Gets a hash function for a particular claim type. (Overrides Object.GetHashCode().)
Public method GetType (Inherited from Object.)
Public methodStatic member IsClaimXmlSafeCharacter Determines whether a character in a claim is a safe for purposes of XML serialization.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToEncodedString Encodes the value of the current claim object into a string.
Public method ToString Provides a friendly display string representation of the current SPClaim claim object. (Overrides Object.ToString().)

Top

See Also

Reference

SPClaim Class

Microsoft.SharePoint.Administration.Claims Namespace