EntitlementsSet

public struct EntitlementsSet : Equatable

A representation of a set of entitlements possessed by a user.

Properties

  • Name of the set of entitlements. This will often be a few words separated by dots like an internet domain.

    Declaration

    Swift

    public var name: String
  • Human readable description of the set of entitlements.

    Declaration

    Swift

    public var description: String?
  • The set of entitlement values.

    Declaration

    Swift

    public var entitlements: [Entitlement]
  • 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.

    Declaration

    Swift

    public var version: Double
  • When the set of entitlements was created.

    Declaration

    Swift

    public var created: Date
  • When the set of entitlements was last updated.

    Declaration

    Swift

    public var updated: Date