共用方式為


ColleaguesWebPart.GetPeople Method

Gets the list of colleagues the user has shared with other users.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Protected Overrides Function GetPeople As PeopleRendererWebPartBase.Person()
'Usage
Dim returnValue As PeopleRendererWebPartBase.Person()

returnValue = Me.GetPeople()
protected override PeopleRendererWebPartBase.Person[] GetPeople()

Return Value

Type: []
An array of colleagues the user has shared with other users.

Remarks

This override gets all of the colleagues that the user has shared with other users.

See Also

Reference

ColleaguesWebPart Class

ColleaguesWebPart Members

Microsoft.SharePoint.Portal.WebControls Namespace