diff options
Diffstat (limited to 'lib/public/IUserManager.php')
-rw-r--r-- | lib/public/IUserManager.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/public/IUserManager.php b/lib/public/IUserManager.php index e8a7fc7827d..6963bb5ddbc 100644 --- a/lib/public/IUserManager.php +++ b/lib/public/IUserManager.php @@ -127,6 +127,18 @@ interface IUserManager { public function searchDisplayName($pattern, $limit = null, $offset = null); /** + * Search known users (from phonebook sync) by displayName + * + * @param string $searcher + * @param string $pattern + * @param int|null $limit + * @param int|null $offset + * @return IUser[] + * @since 21.0.1 + */ + public function searchKnownUsersByDisplayName(string $searcher, string $pattern, ?int $limit = null, ?int $offset = null): array; + + /** * @param string $uid * @param string $password * @throws \InvalidArgumentException |