UserEntitlements
public struct UserEntitlements : Equatable
A representation of the entitlements of a user and how they are assigned
-
Version number of the user’s entitlements. This is incremented every time there is a change of entitlements set or explicit entitlements for this user.
For users entitled by entitlement set, the fractional part of this version specifies the version of the entitlements set itself.
See also:
Constants.entitlementsSetVersionScalingFactor
splitUserEntitlementsVersion
Declaration
Swift
public var version: Double
-
Name of the entitlement set assigned to the user or undefined if the user’s entitlements are assigned directly.
Declaration
Swift
public var entitlementsSetName: String?
-
The full set of entitlements assigned to the user.
Declaration
Swift
public var entitlements: [Entitlement]