object groups = null;
I was not able to get this to work. I was able to come at it from another (most likely harder) way to get the information that i needed. I did a cross check by getting then logged in user adn seeing if they are part of a group by getting all of that groups members and looking for the user name in the string. To get there I used IEdmUserGroup5 and IEdmUser5.