다음을 통해 공유


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