diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-01-25 11:05:00 +0100 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-01-25 11:05:00 +0100 |
commit | 9bb8e0583995fff244432bc34820127ef8ff6ac6 (patch) | |
tree | e3294e6b26b148d2735aa30d07d167b4ed1c9c64 /lib/public/user.php | |
parent | 2fee1208eff1911ffcdbba24ea1e8543ed6ec26b (diff) | |
download | nextcloud-server-9bb8e0583995fff244432bc34820127ef8ff6ac6.tar.gz nextcloud-server-9bb8e0583995fff244432bc34820127ef8ff6ac6.zip |
get all display names
Diffstat (limited to 'lib/public/user.php')
-rw-r--r-- | lib/public/user.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/user.php b/lib/public/user.php index 2d22bdd96c8..3a2f4d02f5c 100644 --- a/lib/public/user.php +++ b/lib/public/user.php @@ -60,6 +60,16 @@ class User { return \OC_USER::getDisplayName();
} + /**
+ * @brief Get a list of all display names
+ * @returns array with all display names and the correspondig uids
+ *
+ * Get a list of all display names.
+ */
+ public static function getDisplayNames($search = '', $limit = null, $offset = null) {
+ return \OC_USER::getDisplayNames($search, $limit, $offset);
+ } + /** * @brief Check if the user is logged in * @returns true/false |