UserRole

enum UserRole
extension Structure.UserRole : Equatable, Hashable, Sendable, SendableMetatype

The role of a user who is invited to a structure.

  • No role is specified. The cloud treats it the same as admin.

    Declaration

    Swift

    case userRoleUnspecified
  • A structure administrator.

    Declaration

    Swift

    case admin
  • A professional installer who temporarily joins the structure to install devices. The homeowner must consent on a Google-hosted page before the invitation is created.

    Declaration

    Swift

    case installer