Share via


PeopleManager.StopFollowing method

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)

Syntax

'Declaration
Public Sub StopFollowing ( _
    accountName As String _
)
'Usage
Dim instance As PeopleManager
Dim accountName As String

instance.StopFollowing(accountName)
public void StopFollowing(
    string accountName
)

Parameters

Remarks

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

See also

Reference

PeopleManager class

PeopleManager members

Microsoft.SharePoint.Client.UserProfiles namespace