June 5, 201312 yr 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
June 5, 201312 yr 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.
Create an account or sign in to comment