Partilhar via


SPClaimProvider.CreatePickerEntity Method

Creates a picker entity.

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

Syntax

'Declaration
Protected Function CreatePickerEntity As PickerEntity
'Usage
Dim returnValue As PickerEntity

returnValue = Me.CreatePickerEntity()
protected PickerEntity CreatePickerEntity()

Return Value

Type: Microsoft.SharePoint.WebControls.PickerEntity
A PickerEntity object.

Remarks

This method is a helper function used in the search and resolve methods.

If you want your claims provider name to appear in the Select people and groups – Webpage Dialog in the People Picker control, you must implement this method. Otherwise the claims provider name won’t appear in the Web page dialog and you will only see the entity group name and a colon, that is, your claims provider name won’t be displayed after the colon.

For more information about entity group name, see the EntityGroupName property.

See Also

Reference

SPClaimProvider Class

SPClaimProvider Members

Microsoft.SharePoint.Administration.Claims Namespace