summaryrefslogtreecommitdiffstats
path: root/plugins/ldap
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2010-09-20 18:27:43 +0000
committerRobin Appelman <icewind1991@gmail.com>2010-09-20 18:27:43 +0000
commit91acafe6984e4e8602769375dbd6cde619e551bf (patch)
tree4c6a1f985441ec680285464e47bf1d4cb63df641 /plugins/ldap
parent369292d68f88c8d0a63fd384cd2269622b72b302 (diff)
downloadnextcloud-server-91acafe6984e4e8602769375dbd6cde619e551bf.tar.gz
nextcloud-server-91acafe6984e4e8602769375dbd6cde619e551bf.zip
initial version for user managment tab in the settings page
Diffstat (limited to 'plugins/ldap')
-rwxr-xr-xplugins/ldap/lib_ldap.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/ldap/lib_ldap.php b/plugins/ldap/lib_ldap.php
index 581561a505d..16bd3a52869 100755
--- a/plugins/ldap/lib_ldap.php
+++ b/plugins/ldap/lib_ldap.php
@@ -161,6 +161,17 @@ class OC_USER_LDAP extends OC_USER_BACKEND {
}
/**
+ * Remove a user from a group
+ *
+ * @param string $username Name of the user to remove from group
+ * @param string $groupName Name of the group from which remove the user
+ */
+ public static function removeFromGroup($username,$groupName){
+ // does not work with MOD_AUTH (only or some modules)
+ return false;
+ }
+
+ /**
* Generate a random password
*/
public static function generatePassword() {