---
title: "lean whoami"
description: "API reference for the command `lean whoami` in command line console."
canonical: https://www.quantconnect.com/docs/v2/lean-cli/api-reference/lean-whoami
markdown: https://www.quantconnect.com/docs/v2/lean-cli/api-reference/lean-whoami.md
language: python
source: https://github.com/QuantConnect/Documentation/tree/master/05%20Lean%20CLI/99%20API%20Reference/60%20lean%20whoami
modified: 2026-11-01
index: https://www.quantconnect.com/llms.txt
---

# lean whoami

[Documentation](https://www.quantconnect.com/docs/v2.md) > [Lean CLI](https://www.quantconnect.com/docs/v2/lean-cli.md) > [API Reference](https://www.quantconnect.com/docs/v2/lean-cli/api-reference.md) > lean whoami

> Code examples are shown in Python. Append `?lang=csharp` to this URL for the C# version of this page.

## Introduction

Display who is logged in.

```
$ lean whoami [OPTIONS]
```

To use the CLI, you must be a member in an [organization](https://www.quantconnect.com/docs/v2/cloud-platform/organizations/tier-features.md) on a paid tier.

## Description

Displays the name and the email address of the user who is currently logged in or "You are not logged in" if no-one is logged in.

## Options

The `lean whoami` command supports the following options:

| Option | Description |
| --- | --- |
| `--verbose` | Enable debug logging |
| `--help` | Display the help text of the `lean whoami` command and exit |
