In versions prior to 11, you could use Get ( PrivilegeSetName ) to set a global to see what Privilege set the user was a part of and then your script would be check to see which menu to load.
With 11, you would have to use Get ( AccountPrivilegeSetName ) or Get ( CurrentPrivilegeSetName ) depending on your needs with the first one being most likely.
Can I create a trigger and/or an If statement so that if account Privilege Set is "data entry" then load Menu set XYZ, apon opening the database?
I haven't tried this script step myself, but it looks like this step would serve:Install Menu Set
I'm not at all understanding what you said.
No you would run the script onLayoutEnter. The script would check the user's priv set and load the appropriate menu set using the Install Menu Set script step.
I know this is old, but I just started to have the need for this now.
Does this sound appropriate for the script.
If [Get ( AccountPrivilegeSetName ) = "Data Entry"]
Install Menu Set ["New Menu"]
I don't see a case function in scripts, so would you use the Else If or Else function for more then two possible results?
Yes and yes.