开发者

Programmatically changing the 'Activities I am following' under Newsfeed Settings in SharePoint

is it possible to programatically select/deselect activities I am following on the news feed preferences page under My开发者_运维问答Sites? I want to be able switch on/off notifications for both custom events and those provided by Sharepoint 2010 out-of-the-box.


You can use the UserProfileManager class to get a specific UserProfile and do this.


you may want to check "Using Activity Feeds with Object Model" topic under SharePoint SDK: http://msdn.microsoft.com/en-us/library/ff426881.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜