[cvs] [Wiki] changed: HordeGroupAPI

Ben Chavet ben at horde.org
Sun Dec 10 00:49:00 PST 2006


ben  Sun, 10 Dec 2006 00:49:00 -0800

Modified page: http://wiki.horde.org/HordeGroupAPI
New Revision:  1.5
Change log:  more notes, and a preview of the final API

@@ -44,8 +44,10 @@
  
  +++ removeGroup(@@--- $group +++ $gid@@, $force = false)
  
  Removes a group from the groups system permanently.
+
+* Is the $force parameter necessary?  Can we automatically update the backend as updates are provided?  Or, is it faster to get all of the updates, and then commit them to the backend all at once?
  
  +++ getGroupName($gid)
  
  Retrieves the name of a group.
@@ -164,5 +166,25 @@
  
  +++ getAuditLog()
  
  +++ clearAuditLog()
+
+----
+
+++ Horde_Groups API
+
+This is a list of the methods that will be available in Horde_Groups to Horde4 applications:
+
+* addGroup($name, $parent)
+* removeGroup($gid)
+* renameGroup($gid, $newName)
+* getGroupname($gid)
+* getGUID($gid)
+* exists($gid)
+* getGroupParent($gid, $deep = false)
+* listGroups()
+* listUsers($gid, $subgroups = false)
+* getGroupMembership($username, $parentGroups = false)
+* userIsInGroup($username, $gid, $subgroups = true)
+* addUser($username, $gid)
+* removeUser($username, $gid)
  


More information about the cvs mailing list