Packages

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)

Annotations
@Volatile()
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. User
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  1. def displayName(displayName: String): User

    Creates a copy of this User with the new display name.

  2. val displayName: String
  3. def groups(groups: String*): User

    Creates a copy of this User with the new groups.

  4. val groups: Seq[String]
  5. def password(password: String): User

    Creates a copy of this User with the new password.

  6. def roles: Seq[Role]
  7. def roles(newRoles: Role*): User

    Creates a copy of this User with the new roles.

  8. def username(username: String): User

    Creates a copy of this User with the new username.

  9. val username: String