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.
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.