case class User(username: String, displayName: String = "", groups: Seq[String] = Seq(), _roles: Seq[Role] = Seq(), password: Option[String] = None) extends Product with Serializable
Models a Couchbase user.
- username
the user's username
- displayName
the user's display name
- groups
any groups that the user belongs to
- _roles
any roles directly assigned to the user (not those inherited through groups)
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- User
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new User(username: String, displayName: String = "", groups: Seq[String] = Seq(), _roles: Seq[Role] = Seq(), password: Option[String] = None)
- username
the user's username
- displayName
the user's display name
- groups
any groups that the user belongs to
- _roles
any roles directly assigned to the user (not those inherited through groups)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def displayName(displayName: String): User
Creates a copy of this User with the new display name.
- val displayName: String
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def groups(groups: String*): User
Creates a copy of this User with the new groups.
- val groups: Seq[String]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def password(password: String): User
Creates a copy of this User with the new password.
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def roles: Seq[Role]
- def roles(newRoles: Role*): User
Creates a copy of this User with the new roles.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def username(username: String): User
Creates a copy of this User with the new username.
- val username: String
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)