get_groupinfo function added for Flexpath.