Allowing only Group Names and Ids out in parent groups function