[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager

Get Users By User Name And Domain V2

Description

This API is used to a user by user name and domain.

Request

Request

URL

URL


get
https://localhost:8080/lcm/authzn/api/v2/users/name/{userName}/domain/{domain}
Copy

Path Parameters

Path Parameters

string
domain Required

domain


string
userName Required

userName


Authentication

Authentication

This operation uses the following authentication methods.

Authorization

Scopes: global

Response

Response

Response Body

Response Body

200 OK returns UserExDTO of type(s) application/json
{
	"displayName": "configadmin configadmin",
	"domain": "example.com",
	"isDisabled": false,
	"password": "string",
	"providerIdentifier": "6304f1ed-17e0-4128-b86f-e29c6563e32f",
	"roleMappings": [
		{
			"authorities": "string",
			"isInternal": false,
			"roleDescription": "string",
			"roleName": "string",
			"vmid": "string"
		}
	],
	"userMetadata": {
		"additionalMeta": [
			"string"
		],
		"distinguishedName": "string",
		"emails": [
			"admin@vmware.com"
		],
		"externalId": "764195c6-5504-4f56-8c34-b372d47f5176",
		"familyName": "user1",
		"givenName": "LCM"
	},
	"userPrincipalName": "configadmin_upn",
	"userType": "VIDM_LOCAL_USER",
	"username": "configadmin",
	"vmid": "77e3de56-18ba-45b1-b8e3-afc6d0c7c7f2"
}
string
displayName Optional

Display name


string
domain Optional

Domain


boolean
isDisabled Optional

string
password Optional

string
providerIdentifier Optional

Provider ID


array of RoleExDTO
roleMappings Optional

userMetadata Optional

string
userPrincipalName Optional

User Principal Name


string
userType Optional

User Type


string
username Optional

User name


string
vmid Optional

User ID

Errors

Errors

401

Unauthorized


403

Forbidden


404

Not Found


500

Internal Server Error

Code Samples

Code Samples

cURL Command

curl https://localhost:8080/lcm/authzn/api/v2/users/name/{userName}/domain/{domain}


Feedback

Was this page helpful?