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)

public ActivityEventsCollection GetActivitiesByUser(
	UserProfile userProfile,
	DateTime minEventTime
)

Parameters

userProfile
Type: Microsoft.Office.Server.UserProfiles.UserProfile

The UserProfile object representing the user who has published the events in the collection.

minEventTime
Type: System.DateTime

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

Show: