PeopleManager.IsFollowing method

Checks whether the first specified user is following the second specified user.

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

Syntax

'Declaration
Public Shared Function IsFollowing ( _
    context As ClientRuntimeContext, _
    possibleFollowerAccountName As String, _
    possibleFolloweeAccountName As String _
) As ClientResult(Of Boolean)
'Usage
Dim context As ClientRuntimeContext
Dim possibleFollowerAccountName As String
Dim possibleFolloweeAccountName As String
Dim returnValue As ClientResult(Of Boolean)

returnValue = PeopleManager.IsFollowing(context, _
    possibleFollowerAccountName, possibleFolloweeAccountName)
public static ClientResult<bool> IsFollowing(
    ClientRuntimeContext context,
    string possibleFollowerAccountName,
    string possibleFolloweeAccountName
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.ClientResult<Boolean>

See also

Reference

PeopleManager class

PeopleManager members

Microsoft.SharePoint.Client.UserProfiles namespace