# Base Context

Canonical page: https://www.adaptabletools.com/docs/dev-guide-common-base-context

- Base class used for all Context objects provided in functions in Adaptable Options
- Also the base class for all EventInfo objects used by AdapTable Events

The Base Context object provides a set of useful properties, including the [Adaptable API](https://www.adaptabletools.com/docs/technical-reference-adaptable-api/index.md).

It acts as the Base Class for 2 large sets of commonly-used classes in AdapTable:

- All `xxxContext` objects provided to properties in [Adaptable Options](https://www.adaptabletools.com/docs/technical-reference-adaptable-options/index.md) that take the form of functions
- All `xxxEventInfo` objects published by [Adaptable Events](https://www.adaptabletools.com/docs/technical-reference-adaptable-events/index.md)

## Base Context Object

The [`BaseContext`](https://www.adaptabletools.com/docs/reference/basecontext.md) object is defined as follows:

| Property | Type | Description |
| --- | --- | --- |
| [adaptableApi](https://www.adaptabletools.com/docs/reference/basecontext.md#adaptableapi) | [`AdaptableApi`](https://www.adaptabletools.com/docs/reference/adaptableapi.md) | Adaptable Api object |
| [adaptableContext](https://www.adaptabletools.com/docs/reference/basecontext.md#adaptablecontext) | `any` | Custom application Context provided in `AdaptableOptions.adaptableContext` |
| [adaptableId](https://www.adaptabletools.com/docs/reference/basecontext.md#adaptableid) | `string` | Id of current AdapTable instance |
| [adaptableStateKey](https://www.adaptabletools.com/docs/reference/basecontext.md#adaptablestatekey) | `string` | Current Adaptable State Key |
| [clientTimestamp](https://www.adaptabletools.com/docs/reference/basecontext.md#clienttimestamp) | `Date` | Time on user&#39;s computer |
| [userName](https://www.adaptabletools.com/docs/reference/basecontext.md#username) | `string` | Name of Current User |
