List all alerts on a SharePoint site without using the SharePoint API?

Can I get a list of alerts for ALL users on this site? After interacting with the GetAlerts method in /_vti_bin/Lists.asmx, it seems to always execute in the context of the user who provided him with the credentials, and will only return alerts for the THAT user. I was hoping to get a list of EVERY alert on the site.

I know that I can possibly do this using the SharePoint API in a console application, but was hoping to use web services or another method that did not require direct access to the SharePoint mailbox.

I assume that the other way would be to write a custom web service ... but I was hoping for something quick and easy.

+3
source share
2 answers

I think you answered your question. There is no easy way, only native encoding remains.

+1
source

It is not possible to use the GetListItems _vti_bin / sitedata.asmx method (it allows you to send CAML) to retrieve alerts and simply start the service call as an application pool identifier, which should retrieve all the elements, since the application pool identifier is the system account for your site.

0
source

Source: https://habr.com/ru/post/1711009/


All Articles