Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ActivityManager.GetActivitiesByUser method (UserProfile, DateTime, Int32)

Gets an ActivityEventsCollection object containing all activity events, up to a specified maximum number, 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,
	int maxEvents


Type: Microsoft.Office.Server.UserProfiles.UserProfile

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

Type: System.DateTime

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

Type: System.Int32

The maximum number of events in the collection.

© 2015 Microsoft