$filter = $this->prepareFilterForUsersHasGidNumber($groupDN, $search);
$users = $this->access->fetchListOfUsers(
$filter,
- [$this->access->connection->ldapUserDisplayName, 'dn'],
+ $this->access->userManager->getAttributes(true),
$limit,
$offset
);
$filter = $this->prepareFilterForUsersInPrimaryGroup($groupDN, $search);
$users = $this->access->fetchListOfUsers(
$filter,
- [$this->access->connection->ldapUserDisplayName, 'dn'],
+ $this->access->userManager->getAttributes(true),
$limit,
$offset
);