How can I hide the status toolbar for users?
Ofcause the administrators need to be able to see and use it, but not the users.
Really appreciated the answers
This is correct. You could also evaluate the privilege set on first window open to hide or not.
hhide and lock via script. Use custom menus for access or hidden layout object to allow admins to run a script to unlock and show the toolbar.
I already have a script that is triggered by the OnFirstWindowOpen. Possible to use more than one script on this event? And do you have an example?
You can only use one script on a trigger, but this script can call additional scripts. But you do not have to cal subscripts, i just add script steps to your existing script triggered by OnFirstWindowOpen.
you do not have to cal subscripts, i just add script steps
Sorry, my spell checker was on lunch break at the time.
nicolai Thanks this is very interesting, let me show you my script OnFirstWindowOpen, this is now checking device the user use, and now I need to add a checker if the user is a part of user_privilege_group or admin_privilege_group. How and what would you add to this script?
bigtom the thing is that I cant use the Get(AccountPrivilegeSetName) in the script, so it would be very helpful with an example here.
If[get(AccountPrivilegeSetName) = "name"; .......]
Okey, thanks. Still the status toolbar is showing when logged in with users in the user_privilege_group. This is my script now :
1 You are using a different function, not the one bigtom suggested:
Instead of Get (AccountExtendedPrivileges) use Get(AccountPrivilegeSetName)
2 As far as I remember, ="Full Access" should be ="[Full Access]"
3 You only need to show/hide toolbars once before you start checking for the devices.
4 Start from locking for everyone, then unlock for groups you need to.
Yeah my bad thanks works as wanted now, thanks alot guys
Retrieving data ...