Depending on the setting of your website, you can structure your websites in folders for each role. So you can look at the url to determine the role.
Having said that, I'm sure there is a way to programmatically find out what you set in the Location elements, but I donβt know, sorry :)
Matth source
share