How can I find groups for the current user?

Jan 4, 2009 at 11:10 PM
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 4, 2009 at 11:39 PM
 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.