User properties

Discussion created by kht on Jun 12, 2017
Latest reply on Jun 13, 2017 by kht

I have a table, Users. I have an other table, Invoices. I have a script that when you press the 'Xero' button, the 'Xero' invoice open in a web browser.


However, only a couple of users have Xero logins. These users have a 1 in the Users::Xero_admin field. How can I have a condition which says,


If the current user (Get ( UserName )) has a '1' in the Users::Xero_admin, let them perform an action etc.