Retrieving user's contacts using provisionig api

36 views
Skip to first unread message

Sergei Korolyov

unread,
Nov 29, 2011, 8:35:06 AM11/29/11
to google-app...@googlegroups.com
I want to retrieve contacts from several users in my domain, using provisionig api. Is it possible? Or I need collect login information from each user and use contacts api?

Gunjan Sharma

unread,
Nov 29, 2011, 9:44:46 AM11/29/11
to google-app...@googlegroups.com
Hello Sergei

You can get read only access to the contacts of all your domain users using the Contacts API. You just need to authenticate as a domain Admin. Or otherwise you can also you 2 legged OAuth and get all the contacts for any user.

Thanks
Gunjan Sharma

Sergei Korolyov

unread,
Nov 30, 2011, 5:46:16 AM11/30/11
to google-app...@googlegroups.com
One more question. I need to authenticate as a domain Admin (what I want) to get all the contacts for any user using 2 legged OAuth or as user whose contacts I want to receive or I understood something wrong? And I can't find example which explains how to use 2LO (python).

Sorry for my english.

Thanks

Sergei Korolyov

unread,
Nov 30, 2011, 7:28:13 AM11/30/11
to google-app...@googlegroups.com
I find TwoLeggedOAuthExample.py and good article explains how 2LO works.

Thanks a lot for your help!

Gunjan Sharma

unread,
Nov 30, 2011, 1:46:56 PM11/30/11
to google-app...@googlegroups.com
That's great. Let us know if you face any other issue.

Thanks
Gunjan Sharma
Reply all
Reply to author
Forward
0 new messages