LocalAccountsInfo

The LocalAccounts.Info structure defines the local account properties.


Properties

string
email Optional

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


boolean
enabled Required

Flag indicating if the account is enabled


string
fullname Optional

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


boolean
has_password Required

Is the user password set.


string
inactive_at Optional

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


string
last_password_change Optional

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


integer
max_days_between_password_change Optional

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


integer
min_days_between_password_change Optional

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


string
password_expires_at Optional

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


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.


integer
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"
    ]
}
Feedback

Was this page helpful?