Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 1.98 KB

sp-page-context-module.md

File metadata and controls

23 lines (12 loc) · 1.98 KB

sp-page-context module

Classes

Class Description
CultureInfo This class is primarily used with the PageContext class. It provides culture info for the current user of the application.
PageContext The page context provides standard definitions for common SharePoint objects that need to be shared between the client-side application, web parts, and other components. Typically the data is fetched via REST queries when navigating to a new page, but it can also be preloaded by the web server, or filled from a custom application cache.
SPList This class is primarily used with the PageContext class. It provides contextual information for the SharePoint list that hosts the page.
SPListItem This class is primarily used with the PageContext class. It provides contextual information for the SharePoint list item that hosts the page.
SPPermission This class can be used to determine if the current user has a requested set of permissions. Specifies the built-in permissions available in SharePoint Foundation Derived from OneDriveWeb/ODBNext/odsp-shared https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spbasepermissions.aspx
SPSite This class is primarily used with the PageContext class. It provides contextual information for the SharePoint site collection ("site") that hosts the page.
SPUser This class is primarily used with the PageContext class. It provides contextual information for the SharePoint user that is accessing the page.
SPWeb This class is primarily used with the PageContext class. It provides contextual information for the SharePoint site ("web") that hosts the page.