# HasEntitlement(string)

> Checks if the current user is entitled to a specific entitlement.

## Definition

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

```csharp
public static bool HasEntitlement(string entitlement)
```

### Parameters

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

### Returns

| Type                                                          | Description                                                                              |
| ------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true if the user is entitled to the entitlement string. Returns false otherwise. |
