public static void PrintGroupMembershipInfo(ContactsRequest cr, Uri contactURL) { Contact contact = cr.Retrieve(contactURL); foreach (GroupMembership groupMembership in contact.GroupMembership) { Console.WriteLine("Group's Atom ID: " + groupMembership.HRef); } }