Jump to content

This topic is 2531 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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!

open.jpg

relogin.jpg

Posted (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 by siroos12
  • Like 1

This topic is 2531 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.