Listing Users - ACS - Reference Guides

ACS Integration Guide

Product
ACS
AFS_Version
7.9
Category
Reference Guides
language
English
audience
public

To list the users of the CKS instance community, a CKS user must use the GET method on the user list resource. The query returns one results page which may include a portion of the results.

WADL file

Resource

Method

user.wadl

/cks/instance/<service_id>-${Service_Status}/user

GET

The following example shows how to list users.

The request line is:

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

The reply body is:

<value xsi:type="ws.response" xmlns="antidot:cks:output"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<result xsi:type="ws.filtering.result">
<count>2</count>
<totalCount>2</totalCount>
<values>
<item xsi:type="cks.ws.user"
partial="true"
reference="/cks/instance/<service_id>-${Service_Status}/user/2">
<firstName>user1</firstName>
<lastName>user1</lastName>
</item>
<item xsi:type="cks.ws.user"
partial="true"
reference="/cks/instance/<service_id>-${Service_Status}/user/12">
<lastName>Einstein</lastName>
<firstName>Albert</firstName>
</item>
</values>
</result>
</value>