Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Hi folks. I have a line of a script I am writing that reads:

IF[Get( CurrentPrivilegeSetName ) ≠ "[Full Access]"]
'do something'

However it is not working and I'm not sure why. I have full access privileges turned on for the script. The script is being used as a script trigger to not allow a user into a certain tab on a layout without the correct permissions. I have set the correct permissions for a non Full Access user, and they would not see any data if they were able to go into the tab, but I don't really want them in there at all, even if they can't see anything. I have tested the script trigger part of the script and it fires, so the problem is clearly with the above line and I am not sure why.

 

Hope someone can help :)

 

James

Posted

Get ( CurrentPrivilegeSetName ) will return "[Full Access]" if you call it in a script set to run with full access privileges — it's doing what it's supposed to. You probably want Get ( AccountPrivilegeSetName ) instead.

This topic is 4200 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.