Group:

Using the group of names template. You may switch to the default template
List of Members (' . ( $unique ? 'unique' : 'non-unique' ) . ')'; if( ! is_array( $members ) || 0 == count( $members ) ) { echo "(none)"; echo "
"; echo "
"; } else { echo "
    "; for( $i=0; $i"; echo ""; echo htmlspecialchars( $member ) . ""; echo " (remove)"; $member_cn = get_object_attr( $ldapserver, $member, 'cn' ); $member_cn = @$member_cn[0]; $member_sn = get_object_attr( $ldapserver, $member, 'sn' ); $member_sn = @$member_sn[0]; echo ''; // Don't display the SN if it is a subset of the CN if( false !== strpos( $member_cn, $member_sn ) ) $member_sn = ' '; if( $member_sn && $member_cn ) echo '
      Name: ' . htmlspecialchars( $member_cn . ' ' . $member_sn ); $object_classes = get_object_attr( $ldapserver, $member, 'objectClass' ); if( is_array( $object_classes ) ) echo '
      objectClasses: ' . implode( ', ', $object_classes ); echo '
    '; ""; } echo "
"; } ?>
Add a new member: