You can use conditional formatting to check the privilege set name and change the text color to grey. That gives the button a "disabled" appearance, but you then also have to either update your script to check the privilege set name unless you use security settings to keep the script from being executable by unauthorized users.
Ah I see.. some what.
What would be my conditional formula? I'm getting the idea to use ' If ( Get(AccountPrivilegeSetName = "data entry".... but i'm not sure of the rest, or IF is even the right place for this.
If ( Get ( AccountPrivilegeSetName ) = "data entry" ; Self ) ?
Just a simple boolean statement like:
Get ( AccountPrivilegeSetName ) = "data entry"
Get ( AccountPrivilegeSetName ) ≠ "[Full Access]"
Then select a grey text color to be applied if the expression is true.
Wasn't thinking of it that way, thanks!