Groups....

James Tavares jtavares@loa.com
Sun, 22 Apr 2001 20:51:26 -0400


---------------------- multipart/alternative attachment
I added two functions to the LDAP & SQL Driver interface:

Associates $child_id to the parent $object_id via $object_key:
    addChildObject($object_key, $object_id, $child_id)

Deassociates $child_id from the parent $object_id via $object_key:
    removeChildObject($object_key, $object_id, $child_id)

In LDAP:
    addChildObject adds $child_id to the "memberObjectID" attribute.
    removeChildObject removes $child_id from the "memberObjectID" =
attribute.

In SQL:
    addChildObject inserts into ObjectMap names (ParentID, ChildID) =
values ($object_id, $child_id).
    removeChildObject removes where ParentID=3D$object_id and =
ChildID=3D$child_id from the ObjectMap table.



Thanks,
James

---------------------------------------------------------
James Tavares <jtavares@loa.com>
Sr. Data Network Engineer
Log On America, Inc.
Ph: 1-401-459-6294
Fax: 1-401-459-6580
Web: http://www.loa.com/

---------------------- multipart/alternative attachment--