Share via


SPSocialFollowingManager.Follow method

Adds the specified actor to the current user's list of followed actors.

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

Syntax

'Declaration
Public Function Follow ( _
    actor As SPSocialActorInfo _
) As SPSocialFollowResult
'Usage
Dim instance As SPSocialFollowingManager
Dim actor As SPSocialActorInfo
Dim returnValue As SPSocialFollowResult

returnValue = instance.Follow(actor)
public SPSocialFollowResult Follow(
    SPSocialActorInfo actor
)

Parameters

Return value

Type: Microsoft.Office.Server.Social.SPSocialFollowResult
The result of the request.

See also

Reference

SPSocialFollowingManager class

SPSocialFollowingManager members

Microsoft.Office.Server.Social namespace