SPSocialFollowingManager.IsFollowed method

SharePoint 2013

Determines whether the current user is following the specified actor.

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

Public Function IsFollowed ( _
	actor As SPSocialActorInfo _
) As Boolean
Dim instance As SPSocialFollowingManager
Dim actor As SPSocialActorInfo
Dim returnValue As Boolean

returnValue = instance.IsFollowed(actor)

Return value

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