Obtains the organizational unit (OU) details of the Active Directory (AD) domain to which the workspace of the enterprise AD account type is connected.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ListUserAdOrganizationUnits

The operation that you want to perform. Set the value to ListUserAdOrganizationUnits.

OfficeSiteId String Yes cn-hangzhou+dir-485361****

The ID of the AD workspace.

RegionId String Yes cn-hangzhou

The ID of the region.

Response parameters

Parameter Type Example Description
OUNames Array of ouName

The details of the OU in the AD domain.

OUName String example.com/Domain Controllers

The name of the OU.

OfficeSiteId String cn-hangzhou+dir-485361****

The ID of the AD workspace.

RequestId String 28978806-3938-5774-B107-0DAEC97C5BD1

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format

            <OUName>example.com/Domain Controllers</OUName>

JSON format

    "OUNames": [
            "OUName": "example.com/Domain Controllers",
            "OfficeSiteId": "cn-hangzhou+dir-485361****"
    "RequestId": "28978806-3938-5774-B107-0DAEC97C5BD1"