> 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/has-license.md).

# Has License

Returns true when the subscription string contains the given product name (case-insensitive).

## **Syntax**

```lua
refresh.User.HasLicense(product) -> Boolean
```

## **Return**

{% hint style="success" %}
Boolean (product licensed)
{% endhint %}

## Usage Example

```lua
if refresh.User.HasLicense("fivem") then
    print("licensed")
end
```
