Export (0) Print
Expand All

PeopleManager.IsFollowing method

SharePoint 2013

Checks whether the first user is following the second user.

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

public static bool IsFollowing(
	string possibleFollowerAccountName,
	string possibleFolloweeAccountName
)

Parameters

possibleFollowerAccountName
Type: System.String

The account name of the user who might be a follower.

possibleFolloweeAccountName
Type: System.String

The account name of the user who might be followed.

Return value

Type: System.Boolean
true if the first user is following the second user; otherwise, false.
Show:
© 2014 Microsoft