UserStatus

public enum UserStatus : BoxEnum

Defines user status.

  • User is active

    Declaration

    Swift

    case active
  • User is inactive

    Declaration

    Swift

    case inactive
  • User cannot delete or edit content

    Declaration

    Swift

    case cannotDeleteOrEdit
  • User cannot delete, edit or upload content

    Declaration

    Swift

    case cannotDeleteEditOrUpload
  • A custom user status that is not yet implemented

    Declaration

    Swift

    case customValue(String)
  • Initializer.

    Declaration

    Swift

    public init(_ value: String)

    Parameters

    value

    String representation of UserStatus.

  • Returns string representation of user status.

    Declaration

    Swift

    public var description: String { get }