# BaseContext

Canonical page: https://www.adaptabletools.com/docs/reference/basecontext

Base class for all AdapTable callbacks and Events

```ts title="TypeScript"
export interface BaseContext 
```

## Properties

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

## Property Details

### adaptableApi

Adaptable Api object

```ts title="TypeScript"
adaptableApi: AdaptableApi;
```

###### Property Value

[`AdaptableApi`](https://www.adaptabletools.com/docs/reference/adaptableapi.md)

### adaptableContext

Custom application Context provided in `AdaptableOptions.adaptableContext`

```ts title="TypeScript"
adaptableContext: any;
```

###### Property Value

`any`

### adaptableId

Id of current AdapTable instance

```ts title="TypeScript"
adaptableId: string;
```

###### Property Value

`string`

### adaptableStateKey

Current Adaptable State Key

```ts title="TypeScript"
adaptableStateKey: string;
```

###### Property Value

`string`

### clientTimestamp

Time on user&#39;s computer

```ts title="TypeScript"
clientTimestamp: Date;
```

###### Property Value

`Date`

### userName

Name of Current User

```ts title="TypeScript"
userName: string;
```

###### Property Value

`string`
