# Providing a User Name

Canonical page: https://www.adaptabletools.com/docs/getting-started-user-name

- The `userName` property in [Adaptable Options](https://www.adaptabletools.com/docs/technical-reference-adaptable-options/index.md) uniquely identifies the user of the current instance

The `userName` property allows you to uniquely identify the current user.

The property is set in the root of [Adaptable Options](https://www.adaptabletools.com/docs/technical-reference-adaptable-options/index.md).

### `userName`

Name of current AdapTable user

Set this to the name of the current AdapTable user.

```ts {2}
const adaptableOptions: AdaptableOptions = {
    userName: 'John Smith',
} 
```

The `userName` property is used in a number of places in AdapTable including:

- the author of [Notes](https://www.adaptabletools.com/docs/handbook-notes/index.md)
- `ChangedBy` when an object is [Team Shared](https://www.adaptabletools.com/docs/handbook-team-sharing/index.md)
- remote [State Persistence](https://www.adaptabletools.com/docs/dev-guide-adaptable-state-persistence/index.md) callbacks (often combined with `adaptableStateKey`)

Set this to a real user identifier rather than leaving the default `anonymous`

## Base Context

The value of the `userName` property is supplied in the very commonly used [`Base Context`](https://www.adaptabletools.com/docs/reference/basecontext.md); this is the base of the `xxxContext` properties supplied to most functions in [Adaptable Options](https://www.adaptabletools.com/docs/technical-reference-adaptable-options/index.md), and also the base of the `xxxEventInfo` object included in all [Adaptable Events](https://www.adaptabletools.com/docs/technical-reference-adaptable-events/index.md)
