HasEntitlement(string)
Checks whether the current user is entitled to a specific entitlement.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Licensing
- Assembly: UnityEditor.CoreModule
public static bool HasEntitlement(string entitlement)
Parameters
The requested entitlement string.
Returns
Type | Description |
|---|---|
| bool | |
Remarks
This method denies access when the licensing system is unreachable, which is the right default for a permission check.