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
)

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.

maxEvents
Type: System.Int32

The maximum number of events in the collection.

Show:
© 2015 Microsoft