Sitecore 5.0 API

Context Members

Context overview

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.

Public Static (Shared) Methods

GetDeviceNameGets the name of the current device.
GetDomainNameGets the name of the current domain.
GetUserNameGets the name of the current user.
SetActiveSiteSets the active site.

Public Instance Constructors

Context Constructor Initializes a new instance of the Context class.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Context Class | Sitecore Namespace