PeopleManager.AmIFollowedBy method

SharePoint 2013

Checks whether the specified user is following the current user.

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

'Declaration
Public Function AmIFollowedBy ( _
	accountName As String _
) As Boolean
'Usage
Dim instance As PeopleManager
Dim accountName As String
Dim returnValue As Boolean

returnValue = instance.AmIFollowedBy(accountName)

Parameters

accountName
Type: System.String

The account name of the target user.

Return value

Type: System.Boolean
true if the specified user is following the current user; otherwise, false.
Show: