Returns a SiteContext for accessing CMS objects regardless of their site assignment. This function is only relevant if the Scrivito application makes use of the multi-site feature.

Unlike Scrivito.Obj and Scrivito.Obj.onSite, Obj.onAllSites does not take account of the site assignment of CMS objects, meaning that, for example, subsequent searches based on the resulting SiteContext consider all CMS objects, independently of the site they belong to.


SiteContext – a SiteContext


This site context is the only possible way to access an Obj within the siteForUrl callback.