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 [P:HYPERLINK"mk:@MSITStore:D:\\\\aSDK\\\\SP2010SDK.chm::/html/a4bf54d0-29e5-e5c2-231e-b1b9f4728a7f.htm"Microsoft.SharePoint.WebControls.PickerEntity.EntityGroupName] property.