Share via


PeopleManager.Follow method

Add the specified user to 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 Follow ( _
    accountName As String _
)
'Usage
Dim instance As PeopleManager
Dim accountName As String

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

Parameters

Remarks

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

See also

Reference

PeopleManager class

PeopleManager members

Microsoft.SharePoint.Client.UserProfiles namespace