How to determine whether a field is shown or hidden based on user role

How to determine whether a field is shown or hidden based on user role
Hi @Elmer_Wan ,
Please try this in the Visible of the DataCardValue:
If(DataCardValue.Text = "xxx" ,true, false)Hope this will help you,
Best Regards,
Tina