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.UriThe context within which the claims providers can be found.
mode
Type: Microsoft.SharePoint.Administration.Claims.SPClaimProviderOperationOptionsThe operation option to get the claims providers.
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