summaryrefslogtreecommitdiffstats
path: root/plugins/ldap
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2010-09-15 16:24:14 +0000
committerRobin Appelman <icewind1991@gmail.com>2010-09-15 16:24:14 +0000
commita1fbbd09ee0bbbbf23d3c7026ee66d2d5e427d0a (patch)
tree29ff8ff3b5b62f7369c2fd0c1c4399191d7c4318 /plugins/ldap
parent3c1cdee910b4c6d80879aaa2b9676ebc54165837 (diff)
downloadnextcloud-server-a1fbbd09ee0bbbbf23d3c7026ee66d2d5e427d0a.tar.gz
nextcloud-server-a1fbbd09ee0bbbbf23d3c7026ee66d2d5e427d0a.zip
add functions to get a list of all users or groups
Diffstat (limited to 'plugins/ldap')
-rwxr-xr-xplugins/ldap/lib_ldap.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/plugins/ldap/lib_ldap.php b/plugins/ldap/lib_ldap.php
index 2105ed2464e..581561a505d 100755
--- a/plugins/ldap/lib_ldap.php
+++ b/plugins/ldap/lib_ldap.php
@@ -199,4 +199,21 @@ class OC_USER_LDAP extends OC_USER_BACKEND {
return false;
}
+ /**
+ * get a list of all users
+ *
+ */
+ public static function getUsers(){
+ // does not work with MOD_AUTH (only or some modules)
+ return false;
+ }
+
+ /**
+ * get a list of all groups
+ *
+ */
+ public static function getGroups(){
+ // does not work with MOD_AUTH (only or some modules)
+ return false;
+ }
}