appliance local accounts: info

The info structure defines the local account properties. This structure was added in vSphere API 6.7.

Representation:

{
    "warn_days_before_password_expiration"1,
    "min_days_between_password_change"1,
    "roles"[
        "obj-103",
        "obj-103"
    ],
    "password_expires_at""2015-01-01T22:13:05.651Z",
    "fullname""string",
    "inactive_at""2015-01-01T22:13:05.651Z",
    "last_password_change""2015-01-01T22:13:05.651Z",
    "email""string",
    "enabled"true,
    "has_password"true,
    "max_days_between_password_change"1
}

Attributes:

Name Type Description
Required
roles string[] User roles. This attribute was added in vSphere API 6.7.

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.

enabled boolean Flag indicating if the account is enabled. This attribute was added in vSphere API 6.7.

has_password boolean Is the user password set. This attribute was added in vSphere API 6.7.

Optional
fullname string Full name of the user. This attribute was added in vSphere API 6.7.

Optional. If unset, the value was never set.

email string Email address of the local account. This attribute was added in vSphere API 6.7.

Optional. If unset, the value was never set.

last_password_change date_time Date and time password was changed. This attribute was added in vSphere API 6.7.

Optional. If unset, the password was never set.

password_expires_at date_time Date when the account's password will expire. This attribute was added in vSphere API 6.7.

Optional. If unset, the password never expires.

inactive_at date_time Date and time account will be locked after password expiration. This attribute was added in vSphere API 6.7.

Optional. If unset, account will not be locked.

min_days_between_password_change long Minimum number of days between password change. This attribute was added in vSphere API 6.7.

Optional. If unset, pasword can be changed any time.

max_days_between_password_change long Maximum number of days between password change. This attribute was added in vSphere API 6.7.

Optional. If unset, password never expires.

warn_days_before_password_expiration long Number of days of warning before password expires. This attribute was added in vSphere API 6.7.

Optional. If unset, a user is never warned.