Hi, sorry to bother again.

I'm not being able to impersonate my domain users, any advice?
My 2L OAuth is currently working for everything, even retrieving my
own contacts.

Maybe a missing scope on manifest?

Here's a snippet of my auth and retrieve:

        _cclient=gdata.contacts.client.ContactsClient(source=APP_NAME)
        _cclient.ssl = True
        _cclient.auth_token =
gdata.gauth.TwoLeggedOAuthHmacToken( GAM_CONSUMER_KEY,
 
GAM_CONSUMER_SECRET,
 
user_email_to_impersonate)
        feed=_cclient.GetContacts()
        #print feed


Thanks in advance

On May 20, 7:44 pm, Alain <[email protected]> wrote:
> If you are a domain admin and the contacts you want to retrieve belong to a
> user of your domain, you can use 2-Legged 
> OAuth<http://code.google.com/apis/accounts/docs/OAuth.html#GoogleAppsOAuth>to 
> request the contacts by "impersonating" the user.
>
> I hope this helped!
> Best,
> Alain

-- 
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles 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://code.google.com/apis/contacts/community/forum.html

Reply via email to