Lookup security groups by id as well as by name