user

user
user

Represents a local user of VMware Cloud Foundation Operations system.

JSON Example
{
    "id": "string",
    "username": "string",
    "firstName": "string",
    "lastName": "string",
    "password": "string",
    "emailAddress": "string",
    "distinguishedName": "string",
    "enabled": false,
    "groupIds": [
        "string"
    ],
    "roleNames": [
        "string"
    ],
    "role-permissions": [
        {
            "roleName": "string",
            "scopeId": "string",
            "traversal-spec-instances": [
                {
                    "adapterKind": "string",
                    "resourceKind": "string",
                    "name": "string",
                    "resourceSelection": [
                        {
                            "type": "string",
                            "resourceId": [
                                "string"
                            ]
                        }
                    ],
                    "selectAllResources": false,
                    "includedAdapterKinds": [
                        "string"
                    ]
                }
            ],
            "allowAllObjects": false,
            "links": [
                {
                    "href": "string",
                    "rel": "string",
                    "name": "string",
                    "description": "string"
                }
            ]
        }
    ],
    "lastLoginTime": 0,
    "externalId": "string",
    "links": [
        {
            "href": "string",
            "rel": "string",
            "name": "string",
            "description": "string"
        }
    ]
}
string As uuid As uuid
id
Optional

Identifier of the user in the system.

string As ^[^\s,<&"'?+%=>;/#]+$
username
Required

Username of the current user.

string
firstName
Optional

First name of the current user.

string
lastName
Optional

The last name of the current user.

string
password
Required

Password of the user object. When creating a new local user, this field has to be specified.

string
emailAddress
Optional

The email address of the current user

string
distinguishedName
Optional

distinguished name of the current user.

boolean
enabled
Optional

Is the current user's account enabled?

array of string
groupIds
Optional

The list of group ids to which the current user belongs to.

array of string
roleNames
Optional

(Deprecated) List of role names assigned to the user. May be null.

role-permissions
Optional

List of role permissions assigned to this user. May be null. Replaces and takes precedence over roleNames

integer As int64 As int64
lastLoginTime
Optional

Last login time

string
externalId
Optional

External ID of vIDB user. This field is only used in vIDB user import flow. It will not be populated for any other scenarios. Please note, this field may be removed in future.

array of link
links
Optional

links