Get User Name
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Obtain the BMC username.
Privilege
UserMgnt
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | App 06h |
| CMD | 46h |
| 1 | User ID [7:6]-reserved. [5:0]-User ID to return name for. 000000b=reserved |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2:17 | User Name String in ASCII, 16 bytes, max. Strings of fewer than 16 characters are returned with null (00h) characters filling in the remaining bytes. BMC does not check to see whether string data is 'printable' or not. Only character that BMC interprets is null (00h) |
Command Example
Obtain the BMC user name.
Request:
ipmitool raw 0x06 0x46 0x02Response:
41 64 6d 69 6e 69 73 74 72 61 74 6f 72 00 00 00
