Share via


ProfilesEditor.ValidateEntity method

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

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.

See also

Reference

ProfilesEditor class

ProfilesEditor members

Microsoft.SharePoint.Portal.WebControls namespace