SPSocialFollowingManager.IsFollowed method
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)
Syntax
'Declaration
Public Function IsFollowed ( _
actor As SPSocialActorInfo _
) As Boolean
'Usage
Dim instance As SPSocialFollowingManager
Dim actor As SPSocialActorInfo
Dim returnValue As Boolean
returnValue = instance.IsFollowed(actor)
public bool IsFollowed(
SPSocialActorInfo actor
)
Parameters
actor
Type: Microsoft.Office.Server.Social.SPSocialActorInfoThe actor.
Return value
Type: System.Boolean
true if the current user is following the actor; otherwise, false.
See also
Reference
SPSocialFollowingManager class