summaryrefslogtreecommitdiffstats
path: root/lib/public/user.php
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-04 11:13:07 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-04 11:13:07 +0200
commiteab4a05d78af19221be79d3a368dc1385355f826 (patch)
tree49c676b5decef451e568bc93dd83b90e2910673f /lib/public/user.php
parent27da29525a8e73abf0eebf495f258bbdc39ddcc1 (diff)
downloadnextcloud-server-eab4a05d78af19221be79d3a368dc1385355f826.tar.gz
nextcloud-server-eab4a05d78af19221be79d3a368dc1385355f826.zip
implement missing getusers call
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