Hello there!
I'm trying to discover the logged-in users role, from this, I would determine what elements to display in the presented template.
For instance, if a bog standard user was accessing the Self-Service Portal logging a ticket, they would only see a few fields on the template. If an analyst was accessing the template (not via the SSP) they would see a host of other options.
It's knowing if there is a fieldname for this function and what would be the "user role ID" to use with it.
I don't want to have to create multiple templates to achieve the same result.