* @param int $limit
* @param int $offset
* @return IUser[]
- * @deprecated 26.0.0 Use searchUsers instead (same implementation)
+ * @deprecated 27.0.0 Use searchUsers instead (same implementation)
*/
public function searchDisplayName($search, $limit = null, $offset = null) {
return $this->searchUsers($search, $limit, $offset);
* @param int $limit
* @param int $offset
* @return IUser[]
- * @deprecated since 26.0.0, use searchDisplayName instead
+ * @deprecated since 27.0.0, use searchDisplayName instead
*/
public function search($pattern, $limit = null, $offset = null) {
$users = [];
use OCP\IUser;
/**
- * @since 26.0.0
+ * @since 27.0.0
*/
interface ISearchableGroupBackend {
/**
* @param int $limit The limit of results
* @param int $offset The offset of the results
* @return array<string,IUser> Users indexed by uid
- * @since 26.0.0
+ * @since 27.0.0
*/
public function searchInGroup(string $gid, string $search = '', int $limit = -1, int $offset = 0): array;
}
* @param int $offset
* @return array<int,string> an array of user ids
* @since 4.5.0
- * @deprecated 26.0.0 Use searchInGroup instead, for performance reasons
+ * @deprecated 27.0.0 Use searchInGroup instead, for performance reasons
*/
public function usersInGroup($gid, $search = '', $limit = -1, $offset = 0);
}