frog0214 / google-gdata

Automatically exported from code.google.com/p/google-gdata
0 stars 0 forks source link

Using RetrieveAllGroups #601

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi

Can you please show me how I can iterate over the GroupsFeed.

AppsService service = new AppsService(dom, username,password);
GroupFeed groups = service.Groups.RetrieveAllGroups();
....

I was not successful getting an enumerator or a list with the result, but 
probably I didn't understand some things ;)

Thank you!

Original issue reported on code.google.com by andreas....@netwalden.ch on 22 Jun 2012 at 9:14

GoogleCodeExporter commented 8 years ago
You should enumerate the Entries property of the feed:

foreach (AppsExtendedEntry entry in groups.Entries)
{
  //do something with entry
}

Please use this issue tracker to report issues or bug, for help with the 
library please post on StackOverflow or on the discussion group 
(https://groups.google.com/group/gdata-dotnet-client-library).
Thanks

Original comment by ccherub...@google.com on 22 Jun 2012 at 4:06