ActivityManager.GetActivitiesByUser Method (String)
Gets an ActivityEventsCollection object containing all activity events published by the user with the specified name.
Namespace: Microsoft.Office.Server.ActivityFeed
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Function GetActivitiesByUser ( _
publisher As String _
) As ActivityEventsCollection
'Usage
Dim instance As ActivityManager
Dim publisher As String
Dim returnValue As ActivityEventsCollection
returnValue = instance.GetActivitiesByUser(publisher)
public ActivityEventsCollection GetActivitiesByUser(
string publisher
)
Parameters
publisher
Type: System.StringA string that represents the name of the entity that has published the events in the collection.
Return Value
Type: Microsoft.Office.Server.ActivityFeed.ActivityEventsCollection