SPSocialFollowingManager.GetFollowedCount method

SharePoint 2013

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

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

public int GetFollowedCount(
	SPSocialActorTypes types
)

Parameters

types
Type: Microsoft.Office.Server.Social.SPSocialActorTypes

The types of actors to include in the count.

Return value

Type: System.Int32
The number of actors of the specified types that the current user is following.
Show: