My thanks to Prestashopninja the code you supplied set me in the right direction but I also found it would only return "Customer".
I found replacing the line $defaultGroupId = Configuration::get('PS_CUSTOMER_GROUP');
With $defaultGroupId = Customer::getDefaultGroupId((int)$id_customer);
This solved it for me, I hope this helps.