Hi Diogo,
Now I understand your question.
Since you are fetching the user data from a server side query to bind to the list, you can also fetch if the user has the MuAppManagerRole on that list.
You would just have to (left) join with User_Effective_Role table that has the roles that each user has.
Then you can use that field on the if (on my example HasAppManagerRole field):

Just be careful and make it a left join (With or Without) to still get the users that don't have the role.
Hope it helps.
Cheers,
João