Enum Class User.Level

java.lang.Object
java.lang.Enum<User.Level>
dev.getelements.elements.sdk.model.user.User.Level
All Implemented Interfaces:
Serializable, Comparable<User.Level>, Constable
Enclosing class:
User

public static enum User.Level extends Enum<User.Level>
  • Enum Constant Details

    • UNPRIVILEGED

      public static final User.Level UNPRIVILEGED
      An unprivileged/anonymous user.
    • USER

      public static final User.Level USER
      A basic user.
    • SUPERUSER

      public static final User.Level SUPERUSER
      An administrator/super user, who can do all of the above as well as delete/create users.
  • Method Details

    • values

      public static User.Level[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static User.Level valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null