共用方式為


SPClaim.ClaimType Property

Gets the claim type of the current claim.

Namespace:  Microsoft.SharePoint.Administration.Claims
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property ClaimType As String
    Get
'Usage
Dim instance As SPClaim
Dim value As String

value = instance.ClaimType
public string ClaimType { get; }

Property Value

Type: System.String
The String value of the type of claim.

Remarks

The type of claim is typically a URI. For example, the e-mail address claim is represented as https://schemas.microsoft.com/ws/2008/06/identity/claims/email.

For a list of known claims types see ClaimTypes and ClaimTypes.

See Also

Reference

SPClaim Class

SPClaim Members

Microsoft.SharePoint.Administration.Claims Namespace