Home

Is current user site collection administrator in any site collection

Ralf Friedrich
New Contributor

Hi all,

 

how can I determine if current user is site collection administrator in any site collection using REST or CSOM in Javascript? This should be done from a Azure Web App.

 

The user logs on to the Web App. And then a check have to de done to see if the user is a site collection administrator in at least one of the existing site collections. If the check fails, the user should be logged off with a note.

 

To ensure that performance does not decrease, this check should be carried out with a single call.

 

Any suggestions?

 

Regards,

Ralf

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies