Share via


SPClaimProvider.ClaimTypes method

Retrieves the ClaimType claim types that is returned by this claims provider.

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

Syntax

'Declaration
Public Function ClaimTypes As String()
'Usage
Dim instance As SPClaimProvider
Dim returnValue As String()

returnValue = instance.ClaimTypes()
public string[] ClaimTypes()

Return value

Type: []
A String that contains a claim type.

Remarks

The type of statement in the claim that is made. Example of claim types include first name, role and email address.

The claim type provides context for the claim value, and it is usually expressed as a Uniform Resource Identifier (URI). For example, the e-mail address claim type is represented as https://schemas.microsoft.com/ws/2008/06/identity/claims/email.

Also see the GetClaimsForEntity() method and ClaimType property.

See also

Reference

SPClaimProvider class

SPClaimProvider members

Microsoft.SharePoint.Administration.Claims namespace