aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/user.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/user.php')
-rw-r--r--lib/public/user.php10
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