Class: Rubyfb::RemoveUser
- Inherits:
-
Object
- Object
- Rubyfb::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.
1444 1445 |
# File 'lib/src.rb', line 1444 def initialize(user_name) end |
Instance Attribute Details
#user_name ⇒ Object
Attribute accessor.
1432 1433 1434 |
# File 'lib/src.rb', line 1432 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.
1460 1461 |
# File 'lib/src.rb', line 1460 def execute(manager) end |