I'm having an issue with hiding the menu bar of my solution.
I want them hidden for all users, but if the user is logged in with any privileges other than 'Full access' login, I want them hidden AND locked too.
I've looked at various questions regarding the same asked previously, but can't find an answer.
I wrote a quick script to run OnFirstWindowOpen as below
When opening the solution, the script works for hiding the toolbars, and locking them as necessary, but the menu bar remains in place.
Any ideas please?