Role Exception is a custom exception created automatically by OutSystems from each role available in your module.
The name of a Role Exception takes the following form:
For example, if you create a role named
BackofficeUser in a module, OutSystems automatically creates a Role Exception named
Not BackofficeUser in the same module.
Role Exceptions are child nodes of the "Not Registered" System Exception.
Using a Role Exception
Raise a Role Exception in your logic when a user without the appropriate role tries to perform an action that should only be performed by users with that role.