See my post here:

http://groups.google.com/group/google-apps-apis/browse_thread/thread/d0cec8cd4bca6811/d0b75814f284b73f#d0b75814f284b73f

It seems Google has now updated their Docs before they have released
the updates to the actual API code which is unfortunate.  I have been
waiting for the updates myself so I even grabbed the latest dev. code
from the Zend SVN repository but that doesn't contain the new Group
functions either :-(

Oh well, at least maybe we're getting close?  For now, you can use the
List functions to add/remove persons from groups.  You'll just need to
use the Google Apps dashboard to mark who should be an Owner.

Jay

Wachaca wrote:
> Last year I created series of scripts for a University in PHP which
> keeps in sync all the students/teachers accounts in Apps. So that if
> they create a new user in their system, this gets reflected in Apps
> within the hour.
>
> Same thing for lists, if a student joined a class or enrolled in a
> program, that student was automatically assigned to the proper groups.
>
> Now I have to update these scripts to work with Groups and I found
> some inconsistencies which make me think the following:
> Either I am a total fool, or no one has tried this yet. (I doubt I am
> the first in trying this so...)
>
> Here is what I did
> 1 - read up on the new PHP developers guide on how to create a group
> 2 - Download Zend Gdata 1.7.6 to make sure I have the latest version.
> 3 - create a simple script to create a test goup
>      $service->CreateGroup($groupemail,$groupname,$groupdesc,"owner")
>
> 4 - Error received "No such method CreateGroup"
>
> PHP Fatal error:  Uncaught exception 'Zend_Gdata_App_Exception' with
> message 'No such method CreateGroup' in www/gmailProd/Zend/Gdata/
> App.php:675
> Stack trace:
> #0 www/gmailProd/Zend/Gdata/Gapps.php(632): Zend_Gdata_App->__call
> ('CreateGroup', Array)
> #1 [internal function]: Zend_Gdata_Gapps->__call('CreateGroup', Array)
> #2 www/gmailProd/lib/Glibs.php(141): Zend_Gdata_Gapps->CreateGroup
> ('Prueba7', 'Prueba7', 'Prueba7', 'Owner')
> #3 www/gmailProd/admin/groupmanager.php(11): Glibs->CreateGroup
> ('Prueba7', 'Owner')
> #4 {main}
>   thrown in www/gmailProd/Zend/Gdata/App.php on line 675
>
> So it seems that latest Zend Gdata Library is missing the group
> functions... allthough those functions are documented in the PHP
> Developers Guide...
>
> Did I miss something?
>
>
> Thanks for your help
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Apps APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-apps-apis?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to