Retrieve user´s group in Aplication

29 views
Skip to first unread message

Alejandro Garcia Miravet

unread,
Jan 30, 2012, 10:27:32 AM1/30/12
to google-app...@googlegroups.com

Hello everybody.

I have a problem with my Google Apps Business Domain. The problem is the following:


I need in my application to know the groups that authenticated user belongs. I use Oauth 2.0 mechanism.

The problem is that I can't use the provisioning api by security problems.

Is there any way to retrieve the groups without using Provisioning API?

Thanks and best regards.

Claudio Cherubino

unread,
Jan 30, 2012, 12:26:50 PM1/30/12
to google-app...@googlegroups.com
Hi Alejandro,

The Provisioning API is the only way to programmatically get that information.
What exactly are the security problems with the Provisioning API? Perhaps we can help you with that.

Claudio


--
You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-apps-mgmt-apis/-/SiKvE10RF8oJ.
To post to this group, send email to google-app...@googlegroups.com.
To unsubscribe from this group, send email to google-apps-mgmt...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-apps-mgmt-apis?hl=en.

Alejandro Garcia Miravet

unread,
Jan 30, 2012, 4:36:07 PM1/30/12
to google-app...@googlegroups.com
Hello Claudio.
 
The problem is that I don't want use the superadministrator of Google Apps domain for obtain the groups for a user.

I don´t know If I can use a user with less privileges for obtain the groups of a user.

Thanks and best regards
 

Claudio Cherubino

unread,
Jan 30, 2012, 7:17:42 PM1/30/12
to google-app...@googlegroups.com
Hi Alejandro,

The Provisioning API can only be used by the domain administrators, but you can use the OAuth scopes to restrict what your application can do.

Claudio

 

--
You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group.

Alejandro Garcia Miravet

unread,
Jan 31, 2012, 2:34:27 AM1/31/12
to google-app...@googlegroups.com
Note:

We don´t want update/delete or any other operation over group. We only need the groups for a logged user over domain.

Thanks in advance...
Reply all
Reply to author
Forward
0 new messages