> For the complete documentation index, see [llms.txt](https://prismaxdocs.gitbook.io/prismax-partners/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prismaxdocs.gitbook.io/prismax-partners/essentials/quickstart.md).

# User Information

Dedicated API ensuring secure and seamless management of user information.

## **Username -** *GetUsername*

Retrieves the current user's username from the Executor.

```lua
prismaX.api.GetUsername()
```

> * Return the username of the current user.

## Licences - *GetLicences*

Retrieves the active license associated with the user's current menu.

```lua
prismaX.api.GetLicences()
```

> * Return a list of all menus of the current user.

## Licences Expiration Date - *GetLicenceExpiration*

Returns the expiration date of the user's current license.

<pre class="language-lua"><code class="lang-lua"><strong>prismaX.api.GetLicenceExpiration()
</strong></code></pre>

> * Return the current **Licence Expiration Date**. Ex: `2025-02-26 12:00`

## Get User Default Language - *GetUserDefaultLanguage*

Return the current system language of the user.

<pre class="language-lua"><code class="lang-lua"><strong>prismaX.api.GetUserDefaultLanguage()
</strong></code></pre>

> * Return an string like "PT-BR" etc...

{% hint style="info" %}
If used as shown above, it should work just fine. Otherwise, contact our development team!
{% endhint %}
