StopFollowing method

PeopleManager.StopFollowing method

SharePoint 2013

Remove the specified user from 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 StopFollowing(
	string accountName
)

Parameters

accountName
Type: System.String

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

Show:
© 2016 Microsoft