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.

Returns:

  • (Numeric)

    the current value of 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.

Returns:

  • (String)

    the current value of 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.

Returns:

  • (String)

    the current value of 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).

Returns:



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

def password
  @password
end

#roleIControl::Management::UserManagement::UserRole

The user’s role.

Returns:



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.

Returns:



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

def user
  @user
end

#user_idNumeric

The user’s user ID.

Returns:

  • (Numeric)

    the current value of user_id



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

def user_id
  @user_id
end