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.

Yield Parameters:



443
444
445
446
447
# File 'lib/couchbase/management/user_manager.rb', line 443

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

Instance Attribute Details

#domain:local, :external

Returns:

  • (:local, :external)


431
432
433
# File 'lib/couchbase/management/user_manager.rb', line 431

def domain
  @domain
end

#effective_rolesArray<RoleAndOrigins>

Returns:



434
435
436
# File 'lib/couchbase/management/user_manager.rb', line 434

def effective_roles
  @effective_roles
end

#external_groupsArray<String>

Returns:

  • (Array<String>)


440
441
442
# File 'lib/couchbase/management/user_manager.rb', line 440

def external_groups
  @external_groups
end

#password_changedTime

Returns:

  • (Time)


437
438
439
# File 'lib/couchbase/management/user_manager.rb', line 437

def password_changed
  @password_changed
end