Share via

SPSocialFeedManager.GetMentions method

Gets a feed of threads that mention the current user.

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


Public Function GetMentions ( _
    clearUnreadMentions As Boolean, _
    options As SPSocialFeedOptions _
) As SPSocialFeed
Dim instance As SPSocialFeedManager
Dim clearUnreadMentions As Boolean
Dim options As SPSocialFeedOptions
Dim returnValue As SPSocialFeed

returnValue = instance.GetMentions(clearUnreadMentions, _
public SPSocialFeed GetMentions(
    bool clearUnreadMentions,
    SPSocialFeedOptions options


  • clearUnreadMentions
    Type: System.Boolean

    true to clear the current user's unread mention count, otherwise false.

Return value

Type: Microsoft.Office.Server.Social.SPSocialFeed
The requested feed based on the specified parameters.

See also


SPSocialFeedManager class

SPSocialFeedManager members

Microsoft.Office.Server.Social namespace