Share via


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