Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
am
Type: Microsoft.Office.Server.ActivityFeed.ActivityManagerThe ActivityManager associated with this gatherer.
bulkRecordIds
Type: System.Collections.Generic.List<Int64>A list of record identifiers for each owner to be returned.
owners
Type: System.Collections.Generic.Dictionary<Int64, MinimalPerson>A Dictionary to be populated with the record identifiers and MinimalPerson objects that represent each owner.
colleaguesOfOwners
Type: System.Collections.Generic.Dictionary<Int64, List<MinimalPerson>>A Dictionary to be populated with the record identifiers and MinimalPerson objects that represent each colleague of all owners.