PeopleManager.Follow method

SharePoint 2013

Add the specified user to the current user's list of followed users.

Namespace:  Microsoft.SharePoint.Client.UserProfiles
Assemblies:   Microsoft.SharePoint.Client.UserProfiles.Silverlight (in Microsoft.SharePoint.Client.UserProfiles.Silverlight.dll);  Microsoft.SharePoint.Client.UserProfiles.Phone (in Microsoft.SharePoint.Client.UserProfiles.Phone.dll)  Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)

public void Follow(
	string accountName
)

Parameters

accountName
Type: System.String

The recommended API to use for this task is SocialFollowingManager.Follow.

Show: