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