PeopleManager.StopFollowing method

SharePoint Online

Remove the specified user from the current user's list of followed users.

Namespace:  Microsoft.SharePoint.Client.UserProfiles
Assembly:  Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)

public void StopFollowing(
	string accountName
)

Parameters

accountName
Type: System.String

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

Show: