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.UriThe context within which the claims providers are found.
mode
Type: Microsoft.SharePoint.Administration.Claims.SPClaimProviderOperationOptionsThe operation option to get the claims providers.
providerNames
Type: []The names of the claims providers that resolve the input.
entityTypes
Type: []The entity types that are returned on the hierarchy trees.
resolveInput
Type: System.StringThe claim to be resolved.
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