ClientPeoplePicker.ValidateEntities method
Top-level public method used to validate a set of entities on the server
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function ValidateEntities ( _
qParams As ClientPeoplePickerQueryParameters, _
unresolvedEntities As List(Of PickerEntity), _
bThrowOnValidationError As Boolean _
) As List(Of PickerEntity)
'Usage
Dim qParams As ClientPeoplePickerQueryParameters
Dim unresolvedEntities As List(Of PickerEntity)
Dim bThrowOnValidationError As Boolean
Dim returnValue As List(Of PickerEntity)
returnValue = ClientPeoplePicker.ValidateEntities(qParams, _
unresolvedEntities, bThrowOnValidationError)
public static List<PickerEntity> ValidateEntities(
ClientPeoplePickerQueryParameters qParams,
List<PickerEntity> unresolvedEntities,
bool bThrowOnValidationError
)
Parameters
qParams
Type: Microsoft.SharePoint.ApplicationPages.ClientPickerQuery.ClientPeoplePickerQueryParametersObject specifying all parameters for entity resolution and search queries
unresolvedEntities
Type: System.Collections.Generic.List<PickerEntity>List of PickerEntity objects containing unique keys to be validated
bThrowOnValidationError
Type: System.BooleanBoolean specifying whether an SPException should be thrown on validation error
Return value
Type: System.Collections.Generic.List<PickerEntity>