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:



422
423
424
425
426
# File 'lib/couchbase/management/user_manager.rb', line 422

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

Instance Attribute Details

#domain:local, :external

Returns:

  • (:local, :external)


410
411
412
# File 'lib/couchbase/management/user_manager.rb', line 410

def domain
  @domain
end

#effective_rolesArray<RoleAndOrigins>

Returns:



413
414
415
# File 'lib/couchbase/management/user_manager.rb', line 413

def effective_roles
  @effective_roles
end

#external_groupsArray<String>

Returns:

  • (Array<String>)


419
420
421
# File 'lib/couchbase/management/user_manager.rb', line 419

def external_groups
  @external_groups
end

#password_changedTime

Returns:

  • (Time)


416
417
418
# File 'lib/couchbase/management/user_manager.rb', line 416

def password_changed
  @password_changed
end