Sitecore 5.0 API

Context Properties

The properties of the Context class are listed below. For a complete list of Context class members, see the Context Members topic.

Public Static (Shared) Properties

AccessDetermines if a user has suffient permissions to an item.
CacheGets the cache.
ClientPageGets the current Sheer client page object.
ContentDatabaseGets the current content database which is being edited in the Sitecore client.
ContentLanguageGets the language used by the Sitecore client to display content.
CultureGets a CultureInfo object that represents the current language.
DatabaseGets the current database.
DeviceGets the current layout device.
DiagnosticsProvides access to the Diagnostics framework.
DomainGets the current security domain.
IsAdministratorGets a value that indicates if the current user is an administrator.
IsBackgroundThreadGets a boolean that indicates if the current thread is a background thread.
IsLoggedInGets a value indicating whether the current instance is logged in.
ItemGets or sets the current item.
ItemsGets the items.
JobGets the current job.
LanguageGets the current language.
NotificationsProvides access to the Notification framework.
PageProvides access to the current ASP.NET Page object.
RequestProvides access to the current ASP.NET HttpRequest object.
ResourcesGets the resources that are defined by the current database.
SecurityProvides access to the Security framework.
SiteRepresents the current site.
StateGets the state.
UserGets the current user.
WorkflowProvides access to the current workflow framework.

See Also

Context Class | Sitecore Namespace