store roles in an attribute