How can I find groups for the current user?

Jan 5, 2009 at 12:10 AM
Hello, I am trying to return a list of groups for the current user:
API.groups.get(API.uid);
The only problem is that I cannot find a facebook.Entity.Group or facebook.API.Group object to store the returned list of groups.  

So my question is... what should be on the left side of the equal sign:
? = API.groups.get(API.uid);

Any help would be greatly appreciated.

Jason



Jan 5, 2009 at 12:39 AM
 Solution is:
           IList<facebook.Schema.group> groupList = Master.API.groups.get(Master.API.uid);
            foreach (facebook.Schema.group group in groupList)
            {
                DropDownListGroups.Items.Add(group.name);
            }

Be sure to include System.Collections.Generic.