Wickerman Posted September 24, 2018 Share Posted September 24, 2018 I have a fairly simple privilege setup for a 'Staff' login that employs a custom Menu Set. I have simple script that runs on user log-in that installs the custom set if the user is a 'Staff' member. It works fine. But I have a 'Re-Login' button to make it easy for Staff and Supervisors to switch in and out depending who's on the machine. It does switch the privileges appropriately, but the menu set doesn't change. Can someone tell me what's wrong with this script? Here are both of them . . . Help! Link to comment Share on other sites More sharing options...
siroos12 Posted September 24, 2018 Share Posted September 24, 2018 (edited) Hi Wickerman, Is re-login script set to run script with full access privileges? If that is the case, "Get(CurrentPrivilegeSetName)" returns [Full Access]. That is why it does not set the custom menu. I'd suggest to set a variable for "Get(CurrentPrivilegeSetName)" and see what it returns using data viewer and script debugger. Edited September 24, 2018 by siroos12 1 Link to comment Share on other sites More sharing options...
Wickerman Posted September 24, 2018 Author Share Posted September 24, 2018 THAT'S IT! You are my hero for a day. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 2040 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now