Skip to Content
0
Sep 03, 2020 at 02:28 PM

Cloud Application Studio UI Designer - Script refer current user

508 Views

Hi,

My client requires to make a field (APS_Status) ReadOnly when it has the value "RA" for all users except Admins.

How can I get to current user data in my script, to condition my calculation to all users, except Admins ?

Is there something like $data.CurrentUser.BusinessRole == "Admin" ?

Thank you for any help provided :)