Develop > Application Programming Interface > Legacy APIs > Artifact API > List active groups associated with an organization

List active groups associated with an organization

Details

URI /artifact/<organization_id>/group
Method GET
Parameters

userIdentifier=<user_id>
    Required; the user ID you want to use as credentials for this API call. For steps to get the UserIdentifier value, see Get userIdentifier.

Returns 200 - Ok
401 - Not authorized
404 - Object not found
500 - Server exception

Example

The following URL was sent:

https://<host>:<port>/csa/rest/artifact/8a81818f3d02fb7e013d0308891d0003/group?userIdentifier=90d96588360da0c701360da0f1d5f483

The following XML was returned:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<GroupList>
  <count>1</count>
  <limit>1</limit>
  <group>
    <id>8a81818f3d02fb7e013d030af854000f</id>
    <isCriticalSystemObject>false</isCriticalSystemObject>
    <name>sc_February 22, 2013 5:54:43 PM UTC</name>
    <displayName>ServiceConsumer1</displayName>
    <state>...</state>
    <artifactType>...</artifactType>
    <disabled>false</disabled>
    <distinguishedName>
      cn=ServiceConsumer,ou=ConsumerGroup,ou=CSAGroups
    </distinguishedName>
    <role>
      ...
    </role>
  </group>
</GroupList>