diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-12-09 18:36:40 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-12-10 12:07:34 +0100 |
commit | 5dc6406b7075a6f1db3ada7a9d0f5ddc93f58b18 (patch) | |
tree | 87221af31e42aaa9031672706752309b1ccc37db /lib/public | |
parent | 5398bbdc003a93f8652b7c7a88bc80e7710996c9 (diff) | |
download | nextcloud-server-5dc6406b7075a6f1db3ada7a9d0f5ddc93f58b18.tar.gz nextcloud-server-5dc6406b7075a6f1db3ada7a9d0f5ddc93f58b18.zip |
Add filter for 'backend' to user REST route
This adds a "backend" type filter to the index REST route which is a pre-requisite for https://github.com/owncloud/core/issues/12620
For example when calling `index.php/settings/users/users?offset=0&limit=10&gid=&pattern=&backend=OC_User_Database` only users within the backend `OC_User_Database` would be shown. (requires sending a CSRF token as well)
Depends upon https://github.com/owncloud/core/pull/12711
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/iusermanager.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/public/iusermanager.php b/lib/public/iusermanager.php index fc0729b860b..86e495772da 100644 --- a/lib/public/iusermanager.php +++ b/lib/public/iusermanager.php @@ -32,6 +32,12 @@ interface IUserManager { public function registerBackend($backend); /** + * Get the active backends + * @return \OC_User_Interface[] + */ + public function getBackends(); + + /** * remove a user backend * * @param \OCP\UserInterface $backend |