Select the project you want to work on from the Apps screen.
Go to the UI Design module.
Select an element (e.g. a button) on the page where you want to list the roles.
Select the button and add the Authorisation > Get Roles action from the + ADD ACTION menu according to the trigger event you want (Initial Actions, OnClick, OnBlur, etc.).