SPSocialFollowingManager constructor (UserProfile, SPServiceContext)

SharePoint 2013

Initializes a new SPSocialFollowingManager instance for the specified user and service context.

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

'Declaration
Public Sub New ( _
	profile As UserProfile, _
	context As SPServiceContext _
)
'Usage
Dim profile As UserProfile
Dim context As SPServiceContext

Dim instance As New SPSocialFollowingManager(profile, _
	context)

Parameters

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

The user profile of the user.

context
Type: Microsoft.SharePoint.SPServiceContext

The service context to use.

Show: