Retrieving AD Groups
From DreamFactory
- Tutorial
DreamFactory 2.0 Active Directory service allows you to retrieve your Active Directory Groups using the 'group' resource.
- API Endpoints
- To get a list of all Active Directory Groups and their details.
GET http://{url}/api/v2/{ad_service}/group
- To get a details about a specific Group.
GET http://{url}/api/v2/{ad_service}/group/{group_name}
- Example - Getting list of all Active Directory Groups with all fields.
- Service name: ad
- Request URL:
GET http://foo.com/api/v2/ad/group
- Example - Getting list of all Active Directory Groups with a specific fields.
- Service name: ad
- Fields to retrieve: dn,cn,member
- Request URL:
GET http://foo.com/api/v2/ad/group?fields=dn,cn,member
- Example - Getting a specific Group information.
- Service name: ad
- Group to retrieve: DreamFactory
- Request URL:
GET http://foo.com/api/v2/ad/group/DreamFactory
- Example - Getting list of Groups by Active Directory Username.
- Service name: ad
- Active Directory Username: jdoe
- Request URL:
GET http://foo.com/api/v2/ad/group?user=jdoe