SP.UserProfiles.PeopleManager.amIFollowing Method (sp.userprofiles)

Checks whether the current user is following the specified user.

Applies to: apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013

SP.UserProfiles.PeopleManager.amIFollowing(accountName)

Parameters

  • accountName
    String
    The account name of the specified user.

Return value

Boolean
true if the current user is following the specified user; otherwise, false.

See also

Other resources

PeopleManager