Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Validates the specified PickerEntity.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Overrides Function ValidateEntity ( _
entity As PickerEntity _
) As PickerEntity
'Usage
Dim instance As ProfilesEditor
Dim entity As PickerEntity
Dim returnValue As PickerEntity
returnValue = instance.ValidateEntity(entity)
public override PickerEntity ValidateEntity(
PickerEntity entity
)
Parameters
entity
Type: Microsoft.SharePoint.WebControls.PickerEntityThe PickerEntity to be validated.
Return Value
Type: Microsoft.SharePoint.WebControls.PickerEntity
The validated PickerEntity.
Remarks
This method searches for profiles that match the Key value. If a single profile is found, the PickerEntity is updated with the profile information. If multiple profiles are found, they are returned by calling the ResolveErrorBySearch method with the Key value.