List Members of a Group - ACS - Reference Guides

ACS Integration Guide

Product
ACS
AFS_Version
7.9
Category
Reference Guides
language
English
audience
public

To list users of a group, a CKS root user must use the GET method on the user resource of a given group id.

  • request line

GET /cks/instance/<service_id>-${Service_Status}/group/<group_id>/user?afs:login=login://antidot:change_on_install@Antidot

  • reply body

<value xsi:schemaLocation="antidot:cks:output http://ref.antidot.net/v7/cks.xsd" xsi:type="ws.response" xmlns="antidot:cks:output" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<query xsi:type="ws.response.query">
<locale>fr_FR</locale>
<parameters></parameters>
<properties xsi:type="dynamic"></properties>
</query>
<result xsi:type="ws.filtering.result">
<metadata xsi:type="dynamic">
<groupName xsi:type="string">My Name</groupName>
<paths xsi:type="collection">
<item xsi:type="cks.ws.resource.path" reference="/cks/instance/12-stable/group/10">
<name>My Name</name>
</item>
</paths>
<groupPermissions xsi:type="collection">
<item xsi:type="cks.ws.security.profile" reference="/cks/instance/12-stable/profile/1">
<id>1</id>
<hidden>false</hidden>
<description>Give all rights.</description>
<name>Manager</name>
<rights>
<item xsi:type="cks.ws.security.right" reference="/cks/instance/12-stable/settings/right/read">
<description>Allow to read on an entity</description>
<value>READ</value>
</item>
<item xsi:type="cks.ws.security.right" reference="/cks/instance/12-stable/settings/right/manage">
<description>Allow to manage permission and delete entity</description>
<value>MANAGE</value>
</item>
<item xsi:type="cks.ws.security.right" reference="/cks/instance/12-stable/settings/right/write">
<description>Allow to write on an entity and allow to add an entity on a list of entities</description>
<value>WRITE</value>
</item>
<item xsi:type="cks.ws.security.right" reference="/cks/instance/12-stable/settings/right/constrained_write">
<description>Allow to add resource into a book</description>
<value>CONSTRAINED_WRITE</value>
</item>
</rights>
</item>
<item xsi:type="cks.ws.security.profile" reference="/cks/instance/12-stable/profile/1">
<id>1</id>
<hidden>false</hidden>
<description>Give all rights.</description>
<name>Manager</name>
<rights>
<item xsi:type="cks.ws.security.right" reference="/cks/instance/12-stable/settings/right/read">
<description>Allow to read on an entity</description>
<value>READ</value>
</item>
<item xsi:type="cks.ws.security.right" reference="/cks/instance/12-stable/settings/right/manage">
<description>Allow to manage permission and delete entity</description>
<value>MANAGE</value>
</item>
<item xsi:type="cks.ws.security.right" reference="/cks/instance/12-stable/settings/right/write">
<description>Allow to write on an entity and allow to add an entity on a list of entities</description>
<value>WRITE</value>
</item>
<item xsi:type="cks.ws.security.right" reference="/cks/instance/12-stable/settings/right/constrained_write">
<description>Allow to add resource into a book</description>
<value>CONSTRAINED_WRITE</value>
</item>
</rights>
</item>
</groupPermissions>
</metadata>
<count>2</count>
<pager xsi:type="ws.filtering.pager">
<pages>
<page xsi:type="ws.filtering.page" current="true" number="1"></page>
</pages>
</pager>
<request xsi:type="ws.filtering.info">
<elementsPerPage>10</elementsPerPage>
<page>1</page>
</request>
<totalCount>2</totalCount>
<values>
<item xsi:type="cks.ws.user" partial="true" reference="/cks/instance/12-stable/user/5" />
<item xsi:type="cks.ws.user" partial="true" reference="/cks/instance/12-stable/user/8" />
</values>
</result>
</value>