Hi Nikki,
A good way to interact with the Provisioning API from PHP is using the Zend Library: http://framework.zend.com/download/gdata The code in the Demo is very helpful to accomplish provisioning tasks: ZendGdata-1.0.3/demos/Zend/Gdata/Gapps.php Following the demo code, you would see that the steps to get a list of users are this ones: $service = Zend_Gdata_Gapps::AUTH_SERVICE_NAME; $client = Zend_Gdata_ClientLogin::getHttpClient($user, $pass, $service); $gapps = new Zend_Gdata_Gapps($client, 'YourDomain'); $gapps->retrieveAllUsers($gapps, $html); This last function will print all the users, the Parameter $html (boolean) if True will format the output for display in a web browser. Another option is to Get the information directly with: GET https://www.google.com/a/feeds/{domain}/user/2.0 You will also need to add your authentication token. Julian On Feb 11, 11:16 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I want to retrieve a list of users that already exist. What has to be > passed to Google in order to do so? > > What I'm trying to do is create forms that send post over just to make > sure the code is working and worry about piecing everything together > later but I need each component to work. > > I'm reading the guide for PHP and XML but it's not helping to figure > things out as far as what needs to be passed to you google. Can > someone help with this? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
