SPClaimProviderOperations.Resolve Method (Uri, SPClaimProviderOperationOptions, String[], String , String)

Resolves the specified claim to picker entities for the specified claims providers in the specified context with an operation option.

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

Syntax

'Declaration
Public Shared Function Resolve ( _
    context As Uri, _
    mode As SPClaimProviderOperationOptions, _
    providerNames As String(), _
    entityTypes As String(), _
    resolveInput As String _
) As PickerEntity()
'Usage
Dim context As Uri
Dim mode As SPClaimProviderOperationOptions
Dim providerNames As String()
Dim entityTypes As String()
Dim resolveInput As String
Dim returnValue As PickerEntity()

returnValue = SPClaimProviderOperations.Resolve(context, _
    mode, providerNames, entityTypes, _
    resolveInput)
public static PickerEntity[] Resolve(
    Uri context,
    SPClaimProviderOperationOptions mode,
    string[] providerNames,
    string[] entityTypes,
    string resolveInput
)

Parameters

  • context
    Type: System.Uri

    The context within which the claims providers are found.

  • providerNames
    Type: []

    The names of the claims providers that resolve the input.

  • entityTypes
    Type: []

    The entity types that are returned on the hierarchy trees.

Return Value

Type: []
The array of picker entities resolved from the claim.

Exceptions

Exception Condition
ArgumentNullException

context or resolveInput is null .

Remarks

If entityTypes is null , all picker entities are resolved; otherwise, only the picker entities of a type in entityTypes are resolved.

See Also

Reference

SPClaimProviderOperations Class

SPClaimProviderOperations Members

Resolve Overload

Microsoft.SharePoint.Administration.Claims Namespace