LocalAccountsInfo

The LocalAccounts.Info structure defines the local account properties.


Properties

boolean
enabled Required

Flag indicating if the account is enabled


boolean
has_password Required

Is the user password set.


array of string
roles Required

User roles When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: com.vmware.appliance.roles. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: com.vmware.appliance.roles.


string
email Optional

Email address of the local account If unset, the value was never set.


string
fullname Optional

Full name of the user If unset, the value was never set.


string as date-time
inactive_at Optional

Date and time account will be locked after password expiration. If unset, account will not be locked.


string as date-time
last_password_change Optional

Date and time password was changed. If unset, the password was never set.


integer as int64
max_days_between_password_change Optional

Maximum number of days between password change If unset, password never expires.


integer as int64
min_days_between_password_change Optional

Minimum number of days between password change If unset, pasword can be changed any time.


string as date-time
password_expires_at Optional

Date when the account’s password will expire If unset, the password never expires.


integer as int64
warn_days_before_password_expiration Optional

Number of days of warning before password expires If unset, a user is never warned.

JSON Example

{
    "enabled": false,
    "has_password": false,
    "roles": [
        "string"
    ]
}
Returned By

Get Local Accounts
Feedback

Was this page helpful?