# openrail whoami

> Print the user and console the CLI is logged in to.

Print the user and console the CLI is logged in to.

## Usage

```sh
openrail whoami
```

## Details

- Exits non-zero when you are not logged in, so scripts can check it.

## Railway equivalent

`railway whoami` works the same way through the [railway alias](https://openrail.app/docs/cli/railway-alias).

Every command also accepts the [global options](https://openrail.app/docs/cli/global-options).
