Hi,
By using expression box and some conditional formatting you can solve your problem.
For example, if you have want to show ‘text1’ for manager and ‘text2’ for ‘engineer’ role.
Add two expression box with the above text. And put the conditional formatting for first expression box as User’s current role != manager then hide the control.
In the same way put the conditional formatting for second expression box as User’s current role != ‘engineer’ then hide the control.
Hope this will be useful to you.