List AD User Or Group Summary

List AD User Or Group Summary

This API supports Pagination and Filters.
For Pagination, optional query params of 'page' and 'size' needs to be send.
For Filters, refer to 'ADUserOrGroupSummary' model description to find supported filters on specific field.
For full information on using Filters, refer to 'Getting Started' guide of 'VMware Horizon Server API' in code.vmware.com

Request
URI
GET
https://{api_host}//localhost/rest/external/v1/ad-users-or-groups
COPY
Query Parameters
string
group_only
Optional

Presence of this query param indicates to filter only groups or only users. If passed as "true", then only groups are returned. If passed as "false", then only users are returned. If not passed passed at all, then both types are returned.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

[
    {
        "container": "example.com/Users",
        "description": "Test User account",
        "display_name": "example.com\\\\testuser",
        "distinguished_name": "CN=Test User,CN=Users,DC=example,DC=com",
        "domain": "example.com",
        "email": "[email protected]",
        "first_name": "Test",
        "group": false,
        "guid": "5F5A45D9-15C0-4654-8FCF-D589C0EF3ECA",
        "id": "S-1-5-21-1111111111-2222222222-3333333333-500",
        "kiosk_user": false,
        "last_name": "User",
        "login_name": "testuser",
        "long_display_name": "[email protected] (Test User)",
        "name": "Test User",
        "phone": "1-877-486-9273",
        "user_display_name": "Test User",
        "user_principal_name": "[email protected]"
    }
]

401

User is not authenticated

Operation doesn't return any data structure