查询用户服务信息
命令功能
查询用户服务的信息。
命令格式
操作类型:GET
URL:https://device_ip/redfish/v1/AccountService
请求头:
X-Auth-Token: auth_value
请求消息体:无
使用指南
无
使用实例
请求样例:
GET https://10.10.10.10/redfish/v1/AccountService
请求头:
X-Auth-Token: auth_value
请求消息体:无
响应样例:
{ "@odata.context": "/redfish/v1/$metadata#AccountService", "@odata.id": "/redfish/v1/AccountService", "@odata.type": "#AccountService.v1_11_0.AccountService", "Id": "AccountService", "Name": "Account Service", "PasswordExpirationDays": 90, "Accounts": { "@odata.id": "/redfish/v1/AccountService/Accounts" } }
响应码:200
输出说明
字段 |
类型 |
说明 |
---|---|---|
@odata.context |
字符串 |
AccountService资源模型的OData描述信息。 |
@odata.id |
字符串 |
AccountService资源的访问路径。 |
@odata.type |
字符串 |
AccountService资源类型。 |
Id |
字符串 |
AccountService资源的ID。 |
Name |
字符串 |
AccountService资源的名称。 |
PasswordExpirationDays |
数字 |
密码有效期。 默认90天,取值范围为0~365,0表示永不过期。 |
Accounts |
对象 |
Accounts接口资源的访问路径。 |
父主题: 用户管理