summaryrefslogtreecommitdiffstats
path: root/lib/group.php
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-04-17 01:04:23 +0200
committerJakob Sack <kde@jakobsack.de>2011-04-17 01:04:23 +0200
commitc4287162c4fb16e5b85a103aabbbbe7a7eebe4c7 (patch)
tree40ce06b0efc339956b7f5c117e87827cd094ce10 /lib/group.php
parentb129079bed8ebd1b5051dabe15eccdc17bf4b403 (diff)
downloadnextcloud-server-c4287162c4fb16e5b85a103aabbbbe7a7eebe4c7.tar.gz
nextcloud-server-c4287162c4fb16e5b85a103aabbbbe7a7eebe4c7.zip
Some work on the fancy user management
Diffstat (limited to 'lib/group.php')
-rw-r--r--lib/group.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/group.php b/lib/group.php
index 18e34c72773..d8a59a139a5 100644
--- a/lib/group.php
+++ b/lib/group.php
@@ -79,6 +79,24 @@ class OC_GROUP {
}
/**
+ * Try to create a new group
+ *
+ * @param string $groupName The name of the group to create
+ */
+ public static function createGroup($gid) {
+ return self::$_backend->createGroup($gid);
+ }
+
+ /**
+ * Try to delete Group
+ *
+ * @param string $groupName The name of the group to delete
+ */
+ public static function deleteGroup($gid) {
+ return self::$_backend->deleteGroup($gid);
+ }
+
+ /**
* Check if a user belongs to a group
*
* @param string $username Name of the user to check