Sitecore 5.1.1 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

AccessProvides access to the Security/Workflow framework.
ClientData 
ClientPageGets the current Sheer client page object.
ContentDatabaseGets the current content database.
ContentLanguageGets the language used by the client to display content.
CultureGets a CultureInfo object that represents the current language.
Data 
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.
IsLoggedIn 
ItemGets or sets the current item.
Items 
JobGets the current job.
LanguageGets the current language.
NotificationsProvides access to the Notification framework.
PageProvides access to the current ASP.NET Page object.
ProxiesActive 
RequestProvides access to the current ASP.NET HttpRequest object.
RequestID 
ResourcesProvides access to the Resource framework.
SecurityProvides access to the Security framework.
SiteRepresents the current site.
State 
UserGets the current user.
WorkflowProvides access to the current workflow framework.

See Also

Context Class | Sitecore Namespace