Class: FireRuby::RemoveUser

Inherits:
Object
  • Object
show all
Defined in:
lib/src.rb

Overview

This class represents a service manager task to remove an existing user from a database instance. NOTE: This class does not currently work on the Mac OS X platform.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(user_name) ⇒ RemoveUser

This is a constructor for the RemoveUser class.

Parameters

user_name

A String containing the user name to be assigned to the new user.



1360
1361
# File 'lib/src.rb', line 1360

def initialize(user_name)
end

Instance Attribute Details

#user_nameObject

Attribute accessor.



1348
1349
1350
# File 'lib/src.rb', line 1348

def user_name
  @user_name
end

Instance Method Details

#execute(manager) ⇒ Object

This method executes the remove user task against a service manager.

Parameters

manager

A reference to the ServiceManager object to execute the task on.

Exceptions

FireRubyException

Generated whenever a disconnected service manager is specified or an error occurs executing the task.



1376
1377
# File 'lib/src.rb', line 1376

def execute(manager)
end