ActivityManager constructor (UserProfile)

Creates an instance of the ActivityManager class from the current SPServiceContext and for the specified user, which must be the current user.

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

public ActivityManager(
	UserProfile userProfile
)

Parameters

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

The UserProfile object. This value must be identical to the UserProfile object that represents the current user.

Show: