Page created: 22 Jul 2020
|
Page updated: 1 Feb 2021
To determine all of the members for a static group, simply retrieve the group entry
including the membership attribute. The returned entry will include the DNs of all
users that are members of that group. For example, the following criteria may be
used to retrieve the list of all members for the group cn=Test
Group,ou=Groups,dc=example,dc=com:
Base DN | cn=Test Group,ou=Groups,dc=example,dc=com |
Scope | base |
Filter | (objectClass=*) |
Requested Attributes | member uniqueMember |
If you want to retrieve additional information about the members, such as attributes from member entries, you must issue a separate search for each member to retrieve the user entry and the desired attributes.