diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-02-11 22:01:52 +0100 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-02-11 22:01:52 +0100 |
commit | 5731a1b01cc5ba1a4f1226336a56761d967c8e88 (patch) | |
tree | afa8473bfe1e58e99f28c2896afde106fa25a3e6 /lib/user/interface.php | |
parent | 037fcde1334d7b4d2bdeaaad0a71adc692b27ff8 (diff) | |
download | nextcloud-server-5731a1b01cc5ba1a4f1226336a56761d967c8e88.tar.gz nextcloud-server-5731a1b01cc5ba1a4f1226336a56761d967c8e88.zip |
introduce new virtual method hasUserListings() to determine if a user backend can list it's users.
Diffstat (limited to 'lib/user/interface.php')
-rw-r--r-- | lib/user/interface.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/user/interface.php b/lib/user/interface.php index b4667633b50..b1e19aea7fb 100644 --- a/lib/user/interface.php +++ b/lib/user/interface.php @@ -66,10 +66,15 @@ interface OC_User_Interface { /** * @brief Get a list of all display names - * @returns array with all displayNames (value) and the correspondig uids (key) + * @returns array with all displayNames (value) and the corresponding uids (key) * * Get a list of all display names and user ids. */ public function getDisplayNames($search = '', $limit = null, $offset = null); + /** + * @brief Check if a user list is available or not + * @return boolean if users can be listed or not + */ + public function hasUserListings(); }
\ No newline at end of file |