[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen
Get All
DescriptionGet 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
URLURL
https://cloud.vmwarehorizon.com/admin/v2/active-directories
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
This operation uses the following authentication methods.
Response
Response
Response BodyResponse 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
}
array of
ActiveDirectoryTO
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
integer as int32
size
Optional
integer as int64
totalElements
Optional
integer as int32
totalPages
Optional
Errors
ErrorResponse
401
Unauthorized
ErrorResponse
403
Forbidden
404
Not Found
Code Samples
cURL Command
curl https://cloud.vmwarehorizon.com/admin/v2/active-directories
[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen