System Administration > Configuration > Directory Service > Groups

List members of a directory group (Deprecated)

A member group could be either direct member of the group specified by group_id or nested member of it. Both direct member groups and nested member groups are returned. Deprecated:
Use the following Policy API -
GET /policy/api/v1/infra/firewall-identity-stores/<firewall-identity-store-id>/groups/<group-id>/member-groups

Request:

Method:
GET
URI Path(s):
/api/v1/directory/domains/<domain-id>/groups/<group-id>/member-groups
Request Headers:
n/a
Query Parameters:
ListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/directory/domains/123e4567-e89b-12d3-a456-42665544000/groups/1abfda06-fc00-11e7-8450-fea9aa178066/member-groups

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
DirectoryGroupMemberListResults+

Example Response:

{ "sort_ascending": true, "sort_by": "display_name", "result_count": 1, "results": [ { "resource_type": "DirectoryGroupMember", "id": "877c5fd0-7ee2-424e-9bff-66a169f6ded4", "display_name": "877c5fd0-7ee2-424e-9bff-66a169f6ded4", "group_id": "1bd85e69-6eac-416c-80c0-bd8203d76146", "group_distinguished_name": "CN=test6grp,CN=Users,DC=nimbustest,DC=com", "member_group_id": "2cab9258-3413-4787-8d9e-60986985cd3a", "member_group_distinguished_name": "CN=test5grp,CN=Users,DC=nimbustest,DC=com", "_last_modified_user": "system", "_last_modified_time": 1516663042822, "_system_owned": false, "_create_user": "system", "_create_time": 1516661730906, "_protection": "NOT_PROTECTED", "_revision": 1 } ] }

Required Permissions:

read

Feature:

directory_service

Additional Errors: