Export (0) Print
Expand All

SPSocialFeedManager.GetFeedFor method

SharePoint 2013

Gets a feed of activity by the specified user or team site.

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

public SPSocialFeed GetFeedFor(
	string actorId,
	SPSocialFeedOptions options
)

Parameters

actorId
Type: System.String

The unique identifier of the user or team site to retrieve the feed for. For a user, you can use the account name or email address. For a site feed on a team site, use the format http://<server>/<teamSite>/newsfeed.aspx.

options
Type: Microsoft.Office.Server.Social.SPSocialFeedOptions

Feed retrieval options such as date range and sort order.

Return value

Type: Microsoft.Office.Server.Social.SPSocialFeed
The requested feed for the specified user or team site.

You can only retrieve the Personal feed type for a user who is not the current user.

Community Additions

ADD
Show:
© 2014 Microsoft