Partilhar 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