I am so sure that about 2 weeks ago I was using the following code (python):

client = gdata.apps.groups.client.GroupsProvisioningClient(domain=DOMAIN)

client.client_login(EMAIL, PASSWORD, SOURCE)
groups = client.retrieve_groups('random_email@random_domain.com', False)

where the member_id (marked in red) did not belong to the google apps 
domain. This makes sense, as you can add any email address to a group, so 
it makes sense to be able to query what groups an outside email belongs to 
within the google apps domain.

Only, today when I run the same code, I am getting EntityDoesNotExist 
errors, implying that the method only works for google apps email addresses.

Now, it is quite possible that I am mistaken, and I never queried the api 
for non google apps email addresses, but considering I wrote a considerable 
routine around this very concept (which is now utterly broken!) I am pretty 
sure I had it working in my testing.

I checked the docs to find the following ...
The required memberId (member_id in Python) argument identifies the ID of a 
hosted user for which you want to retrieve group subscriptions.
... the key phrase being "hosted user".


Does anyone know if this is possible? And if not, a workaround would be 
hugely helpful!

Thanks in advance

-- 
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/-/KMGVtWa1yvMJ.
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-mgmt-apis?hl=en.

Reply via email to