Hi Raman,

Can you double check that you are using an Administrator of the domain
and the API is enable (Control Panel > User Accounts > Settings >
Enable Provisioning API). Please let me know if that does not solve
the problem.

Thanks,
Julian.

On Aug 26, 7:49 am, "Anirudh (Google)" <[EMAIL PROTECTED]> wrote:
> Hi Raman,
>
> You can retrieve all users in the system using the following code:
>
> $client = Zend_Gdata_ClientLogin::getHttpClient($email, $password,
> Zend_Gdata_Gapps::AUTH_SERVICE_NAME);
> $service = new Zend_Gdata_Gapps($client, $domain)
> $feed = $service ->retrieveAllUsers();
> foreach ($feed as $user) {
>     echo "  * " . $user->login->username . ' (' . $user->name->givenName .
>
>         ' ' . $user->name->familyName . ")\n";
>
> }
>
> Google Apps UI & API do not allow you to read passwords of a user. You
> can either change them or force the user to change them on next login.
> Here is a link to Zend_GData library documentation with code samples
> of all available 
> APIs:http://framework.zend.com/manual/en/zend.gdata.gapps.html
>
> -Anirudh
>
> On Aug 25, 3:25 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > i used demo provided by zend i.e, Gapps.php  using this file iam able
> > to login but could able to retrieve entries. could any one please help
> > me out in this regard..
--~--~---------~--~----~------------~-------~--~----~
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