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)
Syntax
'Declaration
Public Sub New ( _
userProfile As UserProfile _
)
'Usage
Dim userProfile As UserProfile
Dim instance As New ActivityManager(userProfile)
public ActivityManager(
UserProfile userProfile
)
Parameters
userProfile
Type: Microsoft.Office.Server.UserProfiles.UserProfileThe UserProfile object. This value must be identical to the UserProfile object that represents the current user.