User enum role

when a user creates a location they become that locations owner and now are set as a manager role. 
default user role is employee.
Is there a better way to assign the user role then  = 2, can you use the name when I use the hash I have to use the number.