Skip to end of metadata
Go to start of metadata

Get membership

Resource

  • GET| (root)/group/{group_id}/member

The group_id can be a group name (cn) or a regid.

Return

200

Group's direct membership

  1. Content of the response contains one class "group".
  2. Other html is for browser formatting.
  3. Within the class "members" there is one "member" for each member.
  4. Each "member" is also an anchor to the specific member

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11/dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8"/>
</head>
<body>
  <div class="group">
    Regid: <span class="regid">{regid}</span>
    <br/>
    <ul class="members">
      <li>
        <a rel="memberlink" class="member" type="{type}"
           href="(root)/group/{regid}/member/{member_id}">{member_id}</a>
      </li>
      <!-- Additional (li) for each member -->
    </ul>
  </div>
</body>
</html>

304

If-None-Match header matches group's ETag

401

No permission to view membership

404

Group not found

Notes

  • The response always includes an ETag header, which can be used on subsequent GETs and must be used on subsequent updates or deletes.