SPSocialFollowingManager SPSocialFollowingManager SPSocialFollowingManager Class

Definition

Provides methods for managing a user's list of followed actors (users, documents, sites, and tags).

public ref class SPSocialFollowingManager
[Microsoft.SharePoint.Client.ClientCallableType(Name="SocialFollowingManager", ServerTypeId="651F2511-B4A4-4C3D-8C12-B049C7F79D69")]
public class SPSocialFollowingManager
Public Class SPSocialFollowingManager
Inheritance
SPSocialFollowingManagerSPSocialFollowingManagerSPSocialFollowingManager
Attributes
Microsoft.SharePoint.Client.ClientCallableTypeAttribute

Remarks

For more information about how to work with Following People and Following Content features, see Follow people in SharePoint 2013 and Follow content in SharePoint 2013.

Constructors

SPSocialFollowingManager() SPSocialFollowingManager() SPSocialFollowingManager()

Initializes a new instance of the SPSocialFollowingManager class.

SPSocialFollowingManager(UserProfile) SPSocialFollowingManager(UserProfile) SPSocialFollowingManager(UserProfile)

Initializes a new SPSocialFollowingManager instance for the specified user.

SPSocialFollowingManager(UserProfile, SPServiceContext) SPSocialFollowingManager(UserProfile, SPServiceContext) SPSocialFollowingManager(UserProfile, SPServiceContext)

Initializes a new SPSocialFollowingManager instance for the specified user and service context.

Properties

FollowedDocumentsUri FollowedDocumentsUri FollowedDocumentsUri

Gets a URI to a site that lists the current user's followed documents.

FollowedSitesUri FollowedSitesUri FollowedSitesUri

Gets a URI to a site that lists the current user's followed sites.

Methods

Follow(SPSocialActorInfo) Follow(SPSocialActorInfo) Follow(SPSocialActorInfo)

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

GetFollowed(SPSocialActorTypes) GetFollowed(SPSocialActorTypes) GetFollowed(SPSocialActorTypes)

Retrieves the actors that the current user is following.

GetFollowedCount(SPSocialActorTypes) GetFollowedCount(SPSocialActorTypes) GetFollowedCount(SPSocialActorTypes)

Retrieves a count of actors that the current user is following.

GetFollowers() GetFollowers() GetFollowers()

Retrieves the users who are following the current user.

GetSuggestions() GetSuggestions() GetSuggestions()

Retrieves a list of suggested users for the current user to follow.

IsFollowed(SPSocialActorInfo) IsFollowed(SPSocialActorInfo) IsFollowed(SPSocialActorInfo)

Determines whether the current user is following the specified actor.

StopFollowing(SPSocialActorInfo) StopFollowing(SPSocialActorInfo) StopFollowing(SPSocialActorInfo)

Removes the specified actor from the current user's list of followed actors.

Extension Methods

ToJson(Object) ToJson(Object) ToJson(Object)

Applies to