Class: IControl::Management::UserManagement::UserInfo

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) UserInfo 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



491
492
493
# File 'lib/icontrol/management/user_management.rb', line 491

def group_id
  @group_id
end

#home_directoryString

The user’s default home directory.

Returns:

  • (String)

    the current value of home_directory



491
492
493
# File 'lib/icontrol/management/user_management.rb', line 491

def home_directory
  @home_directory
end

#login_shellString

The user’s login shell.

Returns:

  • (String)

    the current value of login_shell



491
492
493
# File 'lib/icontrol/management/user_management.rb', line 491

def 
  @login_shell
end

#passwordString

The user’s clear-text password.

Returns:

  • (String)

    the current value of password



491
492
493
# File 'lib/icontrol/management/user_management.rb', line 491

def password
  @password
end

#roleIControl::Management::UserManagement::UserRole

The user’s role.

Returns:



491
492
493
# File 'lib/icontrol/management/user_management.rb', line 491

def role
  @role
end

#userIControl::Management::UserManagement::UserID

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

Returns:



491
492
493
# File 'lib/icontrol/management/user_management.rb', line 491

def user
  @user
end

#user_idNumeric

The user’s user ID.

Returns:

  • (Numeric)

    the current value of user_id



491
492
493
# File 'lib/icontrol/management/user_management.rb', line 491

def user_id
  @user_id
end