다음을 통해 공유


ActivityFeedGatherer.GetUsersColleaguesAndRights Method

Returns owners and colleagues as MinimalPerson objects for the specified record identifiers.

Namespace:  Microsoft.Office.Server.ActivityFeed
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Shared Sub GetUsersColleaguesAndRights ( _
    am As ActivityManager, _
    bulkRecordIds As List(Of Long), _
    <OutAttribute> ByRef owners As Dictionary(Of Long, MinimalPerson), _
    <OutAttribute> ByRef colleaguesOfOwners As Dictionary(Of Long, List(Of MinimalPerson)) _
)
'Usage
Dim am As ActivityManager
Dim bulkRecordIds As List(Of Long)
Dim owners As Dictionary(Of Long, MinimalPerson)
Dim colleaguesOfOwners As Dictionary(Of Long, List(Of MinimalPerson))

ActivityFeedGatherer.GetUsersColleaguesAndRights(am, _
    bulkRecordIds, owners, colleaguesOfOwners)
public static void GetUsersColleaguesAndRights(
    ActivityManager am,
    List<long> bulkRecordIds,
    out Dictionary<long, MinimalPerson> owners,
    out Dictionary<long, List<MinimalPerson>> colleaguesOfOwners
)

Parameters

See Also

Reference

ActivityFeedGatherer Class

ActivityFeedGatherer Members

Microsoft.Office.Server.ActivityFeed Namespace