AnsweredAssumed Answered

Prohibit a user to use a button

Question asked by robertkurti on Oct 17, 2017
Latest reply on Oct 17, 2017 by beverly

I am trying to prohibit few users from using a button that will copy some records. I have a list of 50 users, and I created an extra field called "CopyArticle" where I input "1" for the users that I want to be able to use that button, and "0" or blank for the users that shouldn't be allowed to use the button. 


I tried to use to put some script lines together just so you have a better understanding on what I am truing to accomplish.



So, in other words, I am trying to check if the Current User has a value of "1" on CopyArticle field perform the script, if the current user has "0" show custom dialog (...) and exit the script.