summaryrefslogtreecommitdiffstats
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 b39235bb965..c9f01d4a597 100644
--- a/lib/public/user.php
+++ b/lib/public/user.php
@@ -42,6 +42,16 @@ class User {
}
+ /**
+ * @brief Get a list of all users
+ * @returns array with all uids
+ *
+ * Get a list of all users.
+ */
+ public static function getUsers(){
+ return \OC_USER::getUsers();
+ }
+
/**
* @brief Check if the user is logged in