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.String

    A string that represents the name of the entity that has published the events in the collection.

  • minEventTime
    Type: System.DateTime

    The UTC DateTime after which all activity events in the collection have been published.s

Return value

Type: Microsoft.Office.Server.ActivityFeed.ActivityEventsCollection

See also

Reference

ActivityManager class

ActivityManager members

GetActivitiesByUser overload

Microsoft.Office.Server.ActivityFeed namespace