> 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-pc-username.md).

# Get PC Username

Returns the Windows user the game runs under.

## **Syntax**

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

## **Return**

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

## Usage Example

```lua
local user = refresh.User.GetPcUsername()
```
