diff options
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/user.php | 1 | ||||
-rw-r--r-- | lib/private/user/manager.php | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/lib/private/user.php b/lib/private/user.php index f93b76a3a64..ff45e9e26a6 100644 --- a/lib/private/user.php +++ b/lib/private/user.php @@ -546,6 +546,7 @@ class OC_User { * @return array associative array with all display names (value) and corresponding uids (key) * * Get a list of all display names and user ids. + * @deprecated Use \OC::$server->getUserManager->searchDisplayName($search, $limit, $offset) instead. */ public static function getDisplayNames($search = '', $limit = null, $offset = null) { $displayNames = array(); diff --git a/lib/private/user/manager.php b/lib/private/user/manager.php index 4fa3711e3b8..b283269916a 100644 --- a/lib/private/user/manager.php +++ b/lib/private/user/manager.php @@ -63,6 +63,14 @@ class Manager extends PublicEmitter implements IUserManager { } /** + * Get the active backends + * @return \OC_User_Interface[] + */ + public function getBackends() { + return $this->backends; + } + + /** * register a user backend * * @param \OC_User_Interface $backend |