White Papers

Version 1.0.0 33
8 Methods 691
This section details the requirements for supporting extrinsic methods for the CIM elements defined by 692
this profile. 693
8.1 DCIM_IPMIRoleBasedAuthorizationService.AssignRoles() 694
The invocation of “Assign Roles” shall follow the following steps: 695
1. Enumerate DCIM_LANIdentity or DCIM_SerialIdentity 696
2. Enumerate DCIM_IPMIRole for LAN Identities or DCIM_IPMISOLRole for Serial Identities 697
3. Call AssignRoles with references to an instance of each class. 698
Table 31DCIM_IPMIRoleBasedAuthorizationService.AssignRoles() Method: Return Code Values 699
Value Description
0 Request was successfully executed.
2 Error occurred.
Table 32 DCIM_IPMIRoleBasedAuthorizationService.AssignRoles() Method: Parameters 700
Qualifiers Name Type Description/Values
IN
Identity CIM_Identity REF Should be a reference to either
DCIM_LANIdentity or DCIM_SerialIdentity
IN
Roles CIM_Role REF Should be a reference to either DCIM_IPMIRole
or DCIM_IPMISOLRole
OUT
(optional)
MessageID string
Error Message ID may be used to look-up in the
Dell Message registry files. For more
information, see Error Message Registry.
OUT
(optional)
Message string
Error Message in English corresponding to
MessageID is returned if the method fails to
execute
OUT
(optional)
MessageArguments[] string
Substitution variables for dynamic error
messages
Table 33DCIM_IPMIRoleBasedAuthorizationService.AssignRoles() Method: Standard Messages 701
MessageID (OUT parameter) Message MessageArguments[]
USR100 The command was successful NA
USR101 Resource allocation failure NA
USR102
Invalid parameter value for
<parameter>
Identity, Roles
USR103 Missing parameter(s) <parameter> Identity, Roles
USR104
Cannot perform the operation due to
an unknown error in iDRAC
NA
702
703