Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


HasEntitlement(string)

Checks whether the current user is entitled to a specific entitlement.
Read time 1 minuteLast updated 7 days ago

Definition

public static bool HasEntitlement(string entitlement)

Parameters

entitlement

The requested entitlement string.

Returns

Type

Description

bool
true
if the user is entitled to the entitlement string;
false
otherwise, including when the licensing system is unreachable.

Remarks

This method denies access when the licensing system is unreachable, which is the right default for a permission check.