diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-06-29 16:15:12 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-06-29 16:15:12 +0200 |
commit | 189ccc2d722bdfb16a96432f709d18438c80c29e (patch) | |
tree | 30c72bb234642501d0b6035aca785988111523ab /lib/public/User/Backend | |
parent | 1603cdc8d2798ddc2799a75deaf42b58515f84cd (diff) | |
download | nextcloud-server-189ccc2d722bdfb16a96432f709d18438c80c29e.tar.gz nextcloud-server-189ccc2d722bdfb16a96432f709d18438c80c29e.zip |
Add method to list disabled users to IProvideEnabledStateBackend
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/public/User/Backend')
-rw-r--r-- | lib/public/User/Backend/IProvideEnabledStateBackend.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/public/User/Backend/IProvideEnabledStateBackend.php b/lib/public/User/Backend/IProvideEnabledStateBackend.php index 8a4755ffbef..d03beacd7b8 100644 --- a/lib/public/User/Backend/IProvideEnabledStateBackend.php +++ b/lib/public/User/Backend/IProvideEnabledStateBackend.php @@ -44,4 +44,13 @@ interface IProvideEnabledStateBackend { * @param callable(bool):void $setDatabaseValue A callable to set the enabled state in the database. */ public function setUserEnabled(string $uid, bool $enabled, callable $queryDatabaseValue, callable $setDatabaseValue): bool; + + /** + * Get the list of disabled users, to merge with the ones disabled in database + * + * @since 28.0.0 + * + * @return string[] + */ + public function getDisabledUserList(int $offset = 0, ?int $limit = null): array; } |