Class: IControl::Management::UserManagement::UserInfo2

Inherits:
Base::Struct
  • Object
show all
Defined in:
lib/icontrol/management/user_management.rb,
lib/icontrol/management/user_management.rb

Overview

Note: this type is deprecated; please use UserInfo3 and associated methods. (home directory, user id, and group id are now computed by the system) UserInfo2 is used to store user information.

Instance Attribute Summary collapse

Instance Attribute Details

#group_idNumeric

The user's group ID.


512
513
514
# File 'lib/icontrol/management/user_management.rb', line 512

def group_id
  @group_id
end

#home_directoryString

The user's default home directory.


512
513
514
# File 'lib/icontrol/management/user_management.rb', line 512

def home_directory
  @home_directory
end

#login_shellString

The user's login shell.


512
513
514
# File 'lib/icontrol/management/user_management.rb', line 512

def 
  @login_shell
end

#passwordIControl::Management::UserManagement::PasswordInfo

The user's password information, either clear-text or encrypted with crypt(3).


512
513
514
# File 'lib/icontrol/management/user_management.rb', line 512

def password
  @password
end

#roleIControl::Management::UserManagement::UserRole

The user's role.


512
513
514
# File 'lib/icontrol/management/user_management.rb', line 512

def role
  @role
end

#userIControl::Management::UserManagement::UserID

The user's account information, i.e. name, full name.


512
513
514
# File 'lib/icontrol/management/user_management.rb', line 512

def user
  @user
end

#user_idNumeric

The user's user ID.


512
513
514
# File 'lib/icontrol/management/user_management.rb', line 512

def user_id
  @user_id
end