Home > SP CSOM (Client site object model)

How to check External Sharing On or Off for a Site Collection using JavaScript or Client side object model?

To check External Sharing On or Off for a Site Collection we will use _spPageContextInfo object.  _spPageContextInfo is a global object. It belongs to any pages like site page, wiki, publishing and system pages. It provides us lots of useful information about the web site. Like _spPageContextInfo.userId - it gives us a current

This Article is TAGGED in , , , , . Read more