ChangeUserPassword method of the MSFT_PCSVDevice class
Wrapper method used to change the BMC user password.
Syntax
uint32 ChangeUserPassword(
[in] string CurrentCredential,
[in] string NewPassword,
[in, out] CIM_ConcreteJob REF Job
);
Parameters
-
CurrentCredential [in]
-
Delimited string containing both the current username and password, separated by a colon. This is the only way to get the credential object from the Powershell cmdlet.
-
NewPassword [in]
-
Password that will be stored on the BMC as the new password for the user.
-
Job [in, out]
-
Reference to the job spawned if the operation continues after the method returns. (May be Null if the task is completed).
Return value
Indicates the result. Values between 4097 and 32767 are reserved by the DMTF. Values of 32768 and above are reserved for vendor implementations.
-
Completed with No Error (0)
-
Not Supported (1)
-
Failed (2)
-
Job Started (4096)
-
DMTF Reserved (4097 32767)
-
Vendor Reserved (32768 65535)
Requirements
Minimum supported client |
Windows 10 [desktop apps only] |
Minimum supported server |
Windows Server 2016 |
Namespace |
Root\Microsoft\Windows\HardwareManagement |
MOF |
|
DLL |
|