Enum Class UserType

java.lang.Object
java.lang.Enum<UserType>
com.atlassian.bitbucket.user.UserType
All Implemented Interfaces:
Serializable, Comparable<UserType>, Constable

public enum UserType extends Enum<UserType>
The type of user
  • Enum Constant Details

    • NORMAL

      public static final UserType NORMAL
      'Normal' users are backed by a user from a Crowd directory and are capable of authenticating via the UI or REST provided they are licensed to do so.
    • SERVICE

      public static final UserType SERVICE
      'Service' users are not backed by a user from a Crowd directory and are not able to authenticate via the UI or REST. Service users can be used to programmatically perform tasks which require an associated user and do not count towards the licensed user count.
  • Method Details

    • values

      public static UserType[] 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 UserType 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