Handle custom roles

Users with custom roles were returned with just a role id so I added a
method to get roles and then used them in them in the createUserListCSV
sample to translate the id to a name.