Class: IControl::Management::UserManagement::UserPermission

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

Overview

A struct that describes a user permission. This indicates what role a user has on a given partition.

Instance Attribute Summary collapse

Instance Attribute Details

#partitionString

The partition that the user has access to.

Returns:

  • (String)

    the current value of partition



540
541
542
# File 'lib/icontrol/management/user_management.rb', line 540

def partition
  @partition
end

#roleIControl::Management::UserManagement::UserRole

The user’s role for the given partition.

Returns:



540
541
542
# File 'lib/icontrol/management/user_management.rb', line 540

def role
  @role
end