PeopleManager.StopFollowing method

SharePoint 2013

Have the current user stop following the specified user.

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

public void StopFollowing(
	string accountName
)

Parameters

accountName
Type: System.String

The account name of the user to stop following.

Show: