我最近得到了要求某人收到SharePoint网站内任何更改的每日摘要警报;每个网站都有一个负责其网站内容的所有者。如何为SharePoint网站中的任何更改创建每日摘要警报
目前我们有一些工作方式是自动为站点内的每个列表/库设置警报。
// Get the Lists on this Site
SPListCollection siteLists = currentSite.Lists;
foreach (SPList list in siteLists)
{
if (!list.ToString().Equals("Master Page Gallery"))
{
if (list.ReadSecurity == 1) // user has read access to all items
{
// Create an Alert for this List
Guid alertID = currentUser.Alerts.Add(list, SPEventType.All, SPAlertFrequency.Daily);
// Set any additional properties
SPAlert newAlert = currentUser.Alerts[alertID];
}
}
}
这就产生了两个问题:
- 用户有很多不同的创建警报。理想:每日总结只有一封电子邮件。
- 某些监视器必须设置为检查站点中的新列表或库,并自动为用户设置警报。
问:如何为网站中的所有更改创建每日摘要警报?
感谢您的信息!我还没有完全确定解决我的问题的最佳方法。审计似乎可以解决我的问题,但如果没有项目级审计,那么我需要找到一种不同的方法。 – 2009-11-12 16:21:06