Get User Name
更新时间: 2026/08/06
在Gitcode上查看源码

Get User Name

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

Obtain the BMC username.

Privilege

UserMgnt

Command Information

Request Information

ByteData Field
NetFnApp 06h
CMD46h
1User ID
[7:6]-reserved.
[5:0]-User ID to return name for. 000000b=reserved

Response Information

ByteData Field
1Completion Code
2:17User 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:

bash
ipmitool raw 0x06 0x46 0x02

Response:

text
41 64 6d 69 6e 69 73 74 72 61 74 6f 72 00 00 00

Back to Index