> ## Documentation Index
> Fetch the complete documentation index at: https://docs.leanmenu.cc/llms.txt
> Use this file to discover all available pages before exploring further.

# 👤 | User Information

> Utilize user information connected to Lean

Lean's functions to get info about the current user.

## Get Username

Returns the Users Lean Menu user.

```lua theme={null}
LeanAPI.User.Username()
```

### Parameters

* None

### Returns

```text theme={null}
(string) - The Users Lean Menu Username
```

### Example

```lua theme={null}
local lean_username = LeanAPI.User.Username()
print("Your Lean username is: " .. lean_username)
```

***

## Get User ID

Returns the Users Lean Menu User ID.

```lua theme={null}
LeanAPI.User.UserID()
```

### Parameters

* None

### Returns

```text theme={null}
(number) - The Users Lean Menu User ID
```

### Example

```lua theme={null}
local uid = LeanAPI.User.UserID()
print("Your Lean UID is: " .. uid)
```
