aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/IUserManager.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-08-08 14:54:40 +0200
committerCôme Chilliet <91878298+come-nc@users.noreply.github.com>2023-10-09 12:04:35 +0200
commita1255539b838b89f7946ce9b819678e7d2057759 (patch)
tree9748d5f2f84163e157f871161e5023717c0da9ff /lib/public/IUserManager.php
parent06efe9f211f36798d970e57040bf5fb49086cdf6 (diff)
downloadnextcloud-server-a1255539b838b89f7946ce9b819678e7d2057759.tar.gz
nextcloud-server-a1255539b838b89f7946ce9b819678e7d2057759.zip
Add endpoint for getting disabled user list
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/public/IUserManager.php')
-rw-r--r--lib/public/IUserManager.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/public/IUserManager.php b/lib/public/IUserManager.php
index 1efb3d5f0c2..0a94c5ad928 100644
--- a/lib/public/IUserManager.php
+++ b/lib/public/IUserManager.php
@@ -140,6 +140,12 @@ interface IUserManager {
public function searchDisplayName($pattern, $limit = null, $offset = null);
/**
+ * @return IUser[]
+ * @since 28.0.0
+ */
+ public function getDisabledUsers(?int $limit = null, int $offset = 0): array;
+
+ /**
* Search known users (from phonebook sync) by displayName
*
* @param string $searcher