appliance techpreview localaccounts user: get
Get the local user account information.
Request:
HTTP request
GET https://{server}/rest/appliance/techpreview/local-accounts/user/{username}
Path Parameters
Name | Type | Description |
---|---|---|
Required | ||
username | string | User login name. |
Response:
HTTP Status Code: 200
Representations:
Response Type:
Name | Type | Description |
---|---|---|
bold = required | ||
value | user_config_get | local user account information. |
value.username | string | User login name
|
value.role | string | User roles Defines user roles for appliance Value is one of: |
value.fullname | string | User full name
|
value.status | string | Shows whether the user account is enabled or disabled. Defines status of user accounts Value is one of: |
value.passwordstatus | string | Shows whether the user account is still valid or expired. Defines state of user password Value is one of: |
value.email | string | Email address of the local account.
|
Errors:
HTTP Status Code | Type | Description |
---|---|---|
500 | error | Generic error |