api to find company of logged in user when the user is part of google apps domain

25 views
Skip to first unread message

Nagendra Babu

unread,
Jul 29, 2015, 8:46:44 AM7/29/15
to Google App Engine
I am trying to create an app for some of my customers who are using google apps domain. I wanted to use google services to distinguish the users based on their company name. I was trying to figure out which API is useful for this scenario.
I have requested information for the same in stackoverflow.

Please help me!!

Patrice (Cloud Platform Support)

unread,
Jul 29, 2015, 10:19:57 AM7/29/15
to Google App Engine, nag4...@gmail.com, nag4...@gmail.com
Hi,

There is no API that gives you directly. Using the Users API, you can get the full email, from which you can get the domain.

But if your customer has multiple domains setup on his Apps account, this might give false results. This is the only way I can think of where you can get such that, as far as I know.

Cheers!
Reply all
Reply to author
Forward
0 new messages