Compartilhar via


SPClaimProviderOperations.ClaimValueTypes Method

Gets the claim value types for the specified claims providers in the context with an operation option.

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

Syntax

'Declaration
Public Shared Function ClaimValueTypes ( _
    context As Uri, _
    mode As SPClaimProviderOperationOptions, _
    providerNames As String() _
) As String()
'Usage
Dim context As Uri
Dim mode As SPClaimProviderOperationOptions
Dim providerNames As String()
Dim returnValue As String()

returnValue = SPClaimProviderOperations.ClaimValueTypes(context, _
    mode, providerNames)
public static string[] ClaimValueTypes(
    Uri context,
    SPClaimProviderOperationOptions mode,
    string[] providerNames
)

Parameters

  • context
    Type: System.Uri

    The context within which the claims providers can be found.

  • providerNames
    Type: []

    The names of the claims providers from which the claim value types are retrieved.

Return Value

Type: []
The claim value types from the claims providers in the context with an operation option.

Remarks

The type of value in the claim. For example, if the claim value is “contributor”, the claim type value is String.

See Also

Reference

SPClaimProviderOperations Class

SPClaimProviderOperations Members

Microsoft.SharePoint.Administration.Claims Namespace