Export (0) Print
Expand All

ActivityManager.GetActivitiesByUser method (UserProfile, Int32)

Gets an ActivityEventsCollection object containing activity events, up to a specified maximum number, published by the specified user.

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

public ActivityEventsCollection GetActivitiesByUser(
	UserProfile userProfile,
	int maxEvents
)

Parameters

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

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

maxEvents
Type: System.Int32

The maximum number of events in the collection.

Community Additions

ADD
Show:
© 2014 Microsoft