LocalAccounts_Info

LocalAccounts_Info
LocalAccounts_Info

The LocalAccounts.Info structure defines the local account properties.

JSON Example
{
    "fullname": "string",
    "email": "string",
    "roles": [
        "string"
    ],
    "enabled": false,
    "has_password": false,
    "last_password_change": "string",
    "password_expires_at": "string",
    "inactive_at": "string",
    "min_days_between_password_change": 0,
    "max_days_between_password_change": 0,
    "warn_days_before_password_expiration": 0
}
string
fullname
Optional

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

string
email
Optional

Email address of the local account If unset, the value was never 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.

boolean
enabled
Required

Flag indicating if the account is enabled

boolean
has_password
Required

Is the user password set.

string As date-time
last_password_change
Optional

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

string As date-time
password_expires_at
Optional

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

string As date-time
inactive_at
Optional

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

integer As int64
min_days_between_password_change
Optional

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

integer As int64
max_days_between_password_change
Optional

Maximum number of days between password change If unset, 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.