appliance techpreview localaccounts user: list

List of local accounts

Request:

HTTP request

GET https://{server}/rest/appliance/techpreview/local-accounts/user
No request parameters

Response:

HTTP Status Code: 200

Representations:

{
    "value"[
        {
            "email""string",
            "fullname""string",
            "passwordstatus""notset",
            "role""admin",
            "status""disabled",
            "username""string"
        },
        {
            "email""string",
            "fullname""string",
            "passwordstatus""notset",
            "role""admin",
            "status""disabled",
            "username""string"
        }
    ]
}
<?xml version="1.0" ?>
<ns0:List-Result xmlns:ns0="http://vmware.com/appliance/techpreview/localaccounts/user" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <value-array>
    <array-item>
      <username>string</username>
      <email>string</email>
      <status>disabled</status>
      <role>admin</role>
      <passwordstatus>notset</passwordstatus>
      <fullname>string</fullname>
    </array-item>
    <array-item>
      <username>string</username>
      <email>string</email>
      <status>disabled</status>
      <role>admin</role>
      <passwordstatus>notset</passwordstatus>
      <fullname>string</fullname>
    </array-item>
  </value-array>
</ns0:List-Result>

Response Type:

Name Type Description
bold = required
value user_config_get[] User configuration.
value[].username string User login name

value[].role string User roles

Defines user roles for appliance Value is one of:
admin: Able to configure the appliance.
operator: Able to read the appliance configuration.
superAdmin: Able to configure the appliance, manage local accounts and use the BASH shell

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:
disabled: The user account is disabled.
enabled: The user account is enabled.

value[].passwordstatus string Shows whether the user account is still valid or expired.

Defines state of user password Value is one of:
notset: No password has been set
expired: The password has expired.
valid: The password is still valid.

value[].email string Email address of the local account.

Errors:

HTTP Status Code Type Description
500 error Generic error