is it possible to programatically select/deselect activities I am following on the news feed preferences page under MySites? I want to be able switch on/off notifications for both custom events and those provided by Sharepoint 2010 out-of-the-box.
Tell me more
×
SharePoint Stack Exchange is a question and answer site for
SharePoint enthusiasts. It's 100% free, no registration required.
|
you may want to check "Using Activity Feeds with Object Model" topic under SharePoint SDK: http://msdn.microsoft.com/en-us/library/ff426881.aspx you may want to check "Using Activity Feeds with Object Model" topic under SharePoint SDK: http://msdn.microsoft.com/en-us/library/ff426881.aspx Below you can find example that will list current user 'Activities I'm following' settings.
Look at the 'How to: Get Events for Users' code sample (http://msdn.microsoft.com/en-us/library/ff426883(v=office.14).aspx) on how to modify 'Activities I'm following' preferences. |
||||
|
|
|
You can try this power shell script
|
||||
|
|