# HasEduLicense()

> Checks whether the current user has an Education license.

## Definition

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

```csharp
public static bool HasEduLicense()
```

### Returns

| Type                                                          | Description                                                                                                         |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | `true` if the user has an Education license; `false` otherwise, including when the licensing system is unreachable. |
