# HasEntitlements(string[])

> Checks if the current user is entitled to a list of entitlements.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Experimental.Licensing](/engine/6000.7/script-reference/unityeditor/experimental/licensing.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static string[] HasEntitlements(string[] entitlements)
```

### Parameters

**** (\[string\[]]\(https\://learn.microsoft.com/dotnet/api/system.string)): The requested list of entitlement strings.

### Returns

| Type                                                               | Description                                                                                     |
| ------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------- |
| [string\[\]](https://learn.microsoft.com/dotnet/api/system.string) | Returns a list of entitlement strings that the user is entitled to based on the requested list. |
