> For the complete documentation index, see [llms.txt](https://refresh-cx.gitbook.io/refresh.cx-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://refresh-cx.gitbook.io/refresh.cx-docs/user-information/get-name.md).

# Get Name

Returns the refresh.cx account username, or an empty string when logged out.

## **Syntax**

```lua
refresh.User.GetName() -> String
```

## **Return**

{% hint style="success" %}
String (account username)
{% endhint %}

## Usage Example

```lua
local name = refresh.User.GetName()
print("Logged in as:", name)
```
