The ManagerAccount schema defines the user accounts that are owned by a manager. Changes to a manager account might affect the current Redfish service connection if this manager is responsible for the Redfish service.
Privilege: Login
NOTE: Creating a local user with operator privileges sets the prvileges to Login, Configure, System Control, VirtualConsole access, VirtualMedia access, Alerts, and Debug by default. To set a customer privilege value, perform Patch method for attribute "Users.{id}.Privilege" under the following URI with the sum total of the required privilege values.
/redfish/v1/Managers/iDRAC.Embedded.1/Attributes/
Following are some Privilege values:
| Privilege | Decimal value |
|---|---|
| Login | 1 |
| Configure iDRAC | 2 |
| Configure Users | 4 |
| Clear Logs | 8 |
| Execute Server Control Commands | 16 |
| Access Virtual Console | 32 |
| Access Virtual Media | 64 |
| Test alerts | 128 |
| Execute debug commands | 256 |
X-Auth-Token: ********************username:passwordAuthorization: Basic *****************curl --location '/redfish/v1/AccountService/Accounts/' \
--header 'X-Auth-Token: <api-key>' \
--header 'Authorization: Basic <encoded-value>'{
"@odata.context": "/redfish/v1/$metadata#ManagerAccount.ManagerAccount",
"@odata.etag": "W/\"gen-2\"",
"@odata.id": "/redfish/v1/AccountService/Accounts/8",
"@odata.type": "#ManagerAccount.v1_14_0.ManagerAccount",
"AccountTypes": [
"HostConsole",
"IPMI",
"KVMIP",
"ManagerConsole",
"OEM",
"Redfish",
"VirtualMedia",
"WebUI"
],
"Description": "User Account",
"Enabled": true,
"Id": "8",
"Keys": {
"@odata.id": "/redfish/v1/AccountService/Accounts/8/Keys"
},
"Links": {
"Role": {
"@odata.id": "/redfish/v1/AccountService/Roles/Administrator"
}
},
"Locked": false,
"Name": "User Account",
"OEMAccountTypes": [
"RACADM",
"SOL"
],
"Oem": {
"Dell": {
"@odata.context": "/redfish/v1/$metadata#DellManagerAccount.DellManagerAccount",
"@odata.type": "#DellManagerAccount.v1_0_0.DellManagerAccount",
"SNMPv3PassphraseEnabled": "Disabled"
}
},
"Password": null,
"PasswordChangeRequired": false,
"PasswordExpiration": null,
"RoleId": "Administrator",
"SNMP": {
"AuthenticationKey": null,
"AuthenticationKeySet": true,
"AuthenticationProtocol": "HMAC256_SHA384",
"EncryptionKey": null,
"EncryptionKeySet": true,
"EncryptionProtocol": "CFB128_AES256"
},
"StrictAccountTypes": false,
"UserName": "laas"
}