Disable Toggle Button based on active user
Is it possible to disable a Toggle Button based on which user that is currently logged in?
This is a button intended for troubleshooting that I don't want the operators to use.
The button can only be toggled if the user has "Write" access to the variable. So set security on the variable to read only for this group in control builder and add or remove users from the required group. This way you don't have to program and maintain everything in a graphic. And when the user name changes or a new user is added, you don't have to reprogram the graphics again.
See the security manuals for more details.