Class: IControl::Management::UserManagement::UserInfo3

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

Overview

UserInfo3 is used to store user information.

Instance Attribute Summary collapse

Instance Attribute Details

#login_shellString

The user’s login shell.

Returns:

  • (String)

    the current value of login_shell



528
529
530
# File 'lib/icontrol/management/user_management.rb', line 528

def 
  @login_shell
end

#passwordIControl::Management::UserManagement::PasswordInfo

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

Returns:



528
529
530
# File 'lib/icontrol/management/user_management.rb', line 528

def password
  @password
end

#permissionsIControl::Management::UserManagement::UserPermissionSequence

The user’s permissions, i.e., what role a user has on a given partition; a user could have one role on a partition, and a different role on another partition, hence the permission list is a sequence for each user. “Common” is one choice for the partition part of UserPermission if you don’t know what to set it to. “[All]” means the role is active in all partitions.

Returns:



528
529
530
# File 'lib/icontrol/management/user_management.rb', line 528

def permissions
  @permissions
end

#userIControl::Management::UserManagement::UserID

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

Returns:



528
529
530
# File 'lib/icontrol/management/user_management.rb', line 528

def user
  @user
end