UserRole

public enum UserRole : BoxEnum

Defines user’s role within an enterprise

  • Coadmin role

    Declaration

    Swift

    case coadmin
  • Admin role

    Declaration

    Swift

    case admin
  • User role

    Declaration

    Swift

    case user
  • A custom role that is not yet implemented

    Declaration

    Swift

    case customValue(String)
  • Initializer.

    Declaration

    Swift

    public init(_ value: String)

    Parameters

    value

    String representation of UserRole.

  • Returns string representation of user’s role.

    Declaration

    Swift

    public var description: String { get }