Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


HasEntitlements(string[])

Returns which of a list of entitlements are granted to the current user.
Read time 1 minuteLast updated 8 days ago

Definition

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

Parameters

entitlements

The requested list of entitlement strings.

Returns

Type

Description

string[]The entitlement strings from the requested list that the user is entitled to.

Remarks

This method returns only the granted entitlements, and returns an empty array when the licensing system is unreachable, which is the right default for a permission check.