다음을 통해 공유


ActivityManager.GetActivitiesByUser Method (UserProfile, DateTime)

Gets an ActivityEventsCollection object containing all activity events published by the specified user that have been published after the specified DateTime.

Namespace:  Microsoft.Office.Server.ActivityFeed
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Function GetActivitiesByUser ( _
    userProfile As UserProfile, _
    minEventTime As DateTime _
) As ActivityEventsCollection
'Usage
Dim instance As ActivityManager
Dim userProfile As UserProfile
Dim minEventTime As DateTime
Dim returnValue As ActivityEventsCollection

returnValue = instance.GetActivitiesByUser(userProfile, _
    minEventTime)
public ActivityEventsCollection GetActivitiesByUser(
    UserProfile userProfile,
    DateTime minEventTime
)

Parameters

  • minEventTime
    Type: System.DateTime

    The UTC DateTime after which the events in the collection were published.

Return Value

Type: Microsoft.Office.Server.ActivityFeed.ActivityEventsCollection

See Also

Reference

ActivityManager Class

ActivityManager Members

GetActivitiesByUser Overload

Microsoft.Office.Server.ActivityFeed Namespace