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

Get All

Description

Get all Active Directory configurations.Non-super users can only query for their own org IDs. This will return all records for which the caller has ‘read’ permission. Please refer to the ActiveDirectoryTO Model for searchable fields.

Request

Request

URL

URL


get
https://cloud.vmwarehorizon.com/admin/v2/active-directories
Copy

Query Parameters

Query Parameters

boolean
expanded Optional

If true, results will include additional data (e.g. join user name)


string
org_id Optional

Organization ID: non-super users can only access their own organization


string
page Optional

Page number to retrieve.


string
search Optional

Search Criteria to filter on search allowed fields


string
size Optional

Size of each page.


array of string
sort Optional

Ascending/Descending. Format is property,{asc|desc} and default is ascending

Parameter Serialization Style: form Explode:true

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns PageActiveDirectoryTO of type */*

Successfully retrieved active directory records

{
	"content": [
		{
			"bindAccounts": {
				"auxiliary": {
					"username": "string"
				},
				"primary": {
					"username": "string"
				}
			},
			"createdAt": "string",
			"credentialId": "5fb352ed5b19360006d8fd93",
			"defaultOU": "OU=Computers",
			"description": "This is a test AD",
			"dnsDomainName": "example.com",
			"enrollmentServicesAccounts": {
				"auxiliary": {
					"username": "string"
				},
				"primary": {
					"username": "string"
				}
			},
			"id": "0123456789",
			"joinAccounts": {
				"auxiliary": {
					"username": "string"
				},
				"primary": {
					"username": "string"
				}
			},
			"location": "US",
			"name": "TestAD",
			"orgId": "0123456789",
			"updatedAt": "string",
			"version": 0
		}
	],
	"empty": false,
	"first": false,
	"last": false,
	"number": 0,
	"numberOfElements": 0,
	"pageable": {
		"offset": 0,
		"pageNumber": 0,
		"pageSize": 0,
		"paged": false,
		"sort": {
			"empty": false,
			"sorted": false,
			"unsorted": false
		},
		"unpaged": false
	},
	"size": 0,
	"sort": {
		"empty": false,
		"sorted": false,
		"unsorted": false
	},
	"totalElements": 0,
	"totalPages": 0
}
content Optional

Searchable fields are “id”, “name”, “dnsDomainName”, “defaultOU”


boolean
empty Optional

boolean
first Optional

boolean
last Optional

integer as int32
number Optional

integer as int32
numberOfElements Optional

pageable Optional

integer as int32
size Optional

sort Optional

integer as int64
totalElements Optional

integer as int32
totalPages Optional
Errors

Errors

401

Unauthorized


403

Forbidden


404

Not Found

Code Samples

Code Samples

cURL Command

curl https://cloud.vmwarehorizon.com/admin/v2/active-directories


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

Was this page helpful?