mirror of
https://github.com/nextcloud/server.git
synced 2025-02-15 13:37:55 +00:00
24 lines
541 B
PHP
24 lines
541 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
namespace OCP\User\Backend;
|
|
|
|
/**
|
|
* @since 21.0.1
|
|
*/
|
|
interface ISearchKnownUsersBackend {
|
|
/**
|
|
* @param string $searcher
|
|
* @param string $pattern
|
|
* @param int|null $limit
|
|
* @param int|null $offset
|
|
* @return array
|
|
* @since 21.0.1
|
|
*/
|
|
public function searchKnownUsersByDisplayName(string $searcher, string $pattern, ?int $limit = null, ?int $offset = null): array;
|
|
}
|