any way to edit alert sent to an AD group?
If an alert has been created to send to an AD group, is there any way to edit the specifics of that alert after it has been created? For instance, the frequency? Deleting and re-creating is troublesome as it sends out, once again, and email saying the alert has been created which is a nuisance.There are no mistakes; every result tells you something of value about what you're are trying to accomplish.
September 28th, 2011 1:34pm

Unfortunately the only alerts for which you could change using UI is your own. Although I have a feeling you can change it using Object Model. Can you try the below code. foreach (SPUser oUser in collUsers) { if(oUser.LoginName = "ADGROUPNAME") { SPAlertCollection collAlerts = oUser.Alerts; foreach (SPAlert oAlert in collAlerts) { oAlert.AlertFrequency = Microsoft.SharePoint.SPAlertFrequency.Immediate; oAlert.Update(); } } } Thanks, Mayur Joshi Blog: http://splearnings.blogspot.com/
Free Windows Admin Tool Kit Click here and download it now
September 28th, 2011 2:57pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics