Class: Couchbase::Management::UserAndMetadata

Inherits:
User
  • Object
show all
Defined in:
lib/couchbase/management/user_manager.rb

Instance Attribute Summary collapse

Attributes inherited from User

#display_name, #groups, #password, #roles, #username

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ UserAndMetadata

Returns a new instance of UserAndMetadata.

Yields:

  • (_self)

Yield Parameters:



407
408
409
410
411
# File 'lib/couchbase/management/user_manager.rb', line 407

def initialize
  super
  @effective_roles = []
  yield self if block_given?
end

Instance Attribute Details

#domain:local, :external

Returns:

  • (:local, :external)


396
397
398
# File 'lib/couchbase/management/user_manager.rb', line 396

def domain
  @domain
end

#effective_rolesArray<RoleAndOrigins>

Returns:



399
400
401
# File 'lib/couchbase/management/user_manager.rb', line 399

def effective_roles
  @effective_roles
end

#external_groupsArray<String>

Returns:

  • (Array<String>)


405
406
407
# File 'lib/couchbase/management/user_manager.rb', line 405

def external_groups
  @external_groups
end

#password_changedTime

Returns:

  • (Time)


402
403
404
# File 'lib/couchbase/management/user_manager.rb', line 402

def password_changed
  @password_changed
end