Class: IBRuby::RemoveUser
- Inherits:
-
Object
- Object
- IBRuby::RemoveUser
- 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
-
#user_name ⇒ Object
Attribute accessor.
Instance Method Summary collapse
-
#execute(manager) ⇒ Object
This method executes the remove user task against a service manager.
-
#initialize(user_name) ⇒ RemoveUser
constructor
This is a constructor for the RemoveUser class.
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.
1359 1360 |
# File 'lib/src.rb', line 1359 def initialize(user_name) end |
Instance Attribute Details
#user_name ⇒ Object
Attribute accessor.
1347 1348 1349 |
# File 'lib/src.rb', line 1347 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
- IBRubyException
-
Generated whenever a disconnected service manager
is specified or an error occurs executing the task.
1375 1376 |
# File 'lib/src.rb', line 1375 def execute(manager) end |