[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen

Get Users And Groups Deprecated

Description

Filters the users and groups info based on search string.

Request

Request

URL

URL


get
https://cloud.vmwarehorizon.com/auth/v1/admin/usersAndGroups
Copy

Query Parameters

Query Parameters

string
search_string Optional

search_string


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns UsersAndGroups of type */*
{
	"groups": [
		{
			"displayName": "aduser1",
			"id": "id-12345",
			"onPremisesDomainName": "horizonv2.local",
			"onPremisesSecurityIdentifier": "S-1-5-21-2502306595",
			"securityIdentifier": "S-1-12-1-2011878264"
		}
	],
	"userInfo": [
		{
			"active": true,
			"avatar": "url",
			"azureAdDomain": "string",
			"department": "Finance",
			"displayName": "John Smith",
			"distinguishedName": "CN=JSMITH,DC=vmware,DC=com",
			"domain": "horizonv2.local",
			"familyName": "Smith",
			"givenName": "John",
			"id": "1223234",
			"ipaddr": "0.0.0.0",
			"onPremisesUserPrincipalName": "john.smith@horizonv2.local",
			"orgIds": [
				"string"
			],
			"tid": "1223234",
			"userDomain": "string",
			"userGroups": [
				"string"
			],
			"userName": "john.smith",
			"userPrincipalName": "john.smith@horizonv2.onmicrosof.com",
			"userSid": "S-1-5-21-2502306595"
		}
	]
}
array of Group
groups Optional

List of groups info


array of UserInfo
userInfo Optional

List of users info

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl https://cloud.vmwarehorizon.com/auth/v1/admin/usersAndGroups


Feedback

Was this page helpful?