How can I retrieve the Site Title of a SharePoint Site (via URL) and their site owner/admins
AnsweredHello,
I have a SP Form where the user enters a SharePoint URL like https://<mytenant>.sharepoint.com/sites/<SiteURL>
Now I want to get the Title of the SharePoint Site and find out who the site owner and the admins are.
I know that there is a way to make a SP Rest API call like:
_api/web/title
_api/web/siteusers?$filter=IsSiteAdmin%20eq%20true
to retrieve the data I am looking for, but if a user is not having any permission on the SharePoint URL (site) the API call fails with access denied.
Many thanks for ideas.
Cheers
Joerg
-
Hi Joerg_K.
Since we had already an exchange in a support case about the topic of REST API calls client side executed with too less permission on target site, I would ask if this topic is clarified or if there are any open questions on that discussion?0 -
Hi Christof,
yes, please go ahead and close the topic.
Many thanks!
Cheers
Joerg
0
Please sign in to leave a comment.
Comments
2 comments