White Papers

50 Version 1.3.0
8.3 DCIM_BIOSService.ChangePassword ()
593
The ChangePassword() method is used to set or change the value of a BIOS attribute.
594
Invoking the ChangePassword( ) method shall change the value of the password attribute’s PendingValue
595
property to the value specified by the AttributeValue.
596
Return code values for the ChangePassword() method are specified in Table 46 and parameters are
597
specified in Table 47.
598
NOTE: Invoking the ChangePassword() method multiple times can result in the earlier requests being
599
overwritten or lost.
600
Table 46 ChangePassword() Method: Return Code Values
601
Value
Description
0
Completed with no error
2
Failed
Table 47 ChangePassword() Method: Parameters
602
Qualifiers
Name
Type
Description/Values
IN, REQ
Target
String
Shall be set to “BIOS.Setup.1-1
IN, REQ
PasswordType
Uint16
Shall be one of the following values:
1 = System Password
2 = Setup Password
IN, REQ
OldPassword
String
Shall contain the old password string:
If the PasswordType parameter has the value 1(System
Password) , the OldPassword shall have the current value
of SysPassword attribute or SetupPassword attribute, else
the method shall return 2(Failed).
If the PasswordType parameter has the value 2(Setup
Password) , the OldPassword shall have the current value
of SetupPassword attribute, else the method shall return
2(Failed).
IN, REQ
NewPassword
String
Shall be set to new password string.
NewPassword may be set to NULL (or omitted) in order to
clear the old password. Clearing the password may
succeed even if the password was previously cleared.
OUT
MessageID
String
Error MessageID
OUT
Message
String
Error Message
OUT
MessageArguments[]
String
Error MessageArguments
603
Table 48 ChangePassword() Method: Standard Messages
604
MessageID (OUT parameter)
Message
MessageArguments[]
BIOS001
The command was successful
BIOS002
Resource allocation failure
BIOS003
Missing required parameter
BIOS004
Invalid parameter value for
Parameter