SP.UserProfiles.PeopleManager.isFollowing Method (sp.userprofiles)
Checks whether the first user is following the second user.
Applies to: apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013
SP.UserProfiles.PeopleManager.isFollowing(possibleFollowerAccountName, possibleFolloweeAccountName)
Parameters
possibleFollowerAccountName
String
The account name of the user who might be following possibleFolloweeAccountName.possibleFolloweeAccountName
String
The account name of the user who might be followed.
Return value
Boolean
true if the first user is following the second user; otherwise, false.