Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Privilege Set Name not always identified

Featured Replies

I have a login script that includes a Get( PrivilegeSetName ) in an If statement.

When I run the script, I can see in the Data Viewer that the desired Privilege Set Name is identified by FM but when the login script runs, the If statement that checks that Privilege Set Name gets skipped.

I've changed the Privilege Set Name, changed the Account Name, cut-and-pasted the name from a Boolean test in the Data Viewer, flushed the cache and moved the If statement into a subscript. Nothing helped.

I've also copied the If routine to a different script with negative results but if I do change the If statement to check for the "[Full Access]" Privilege Set, and login as such, the If statement works.

I've also Recovered the file than ran it through FMDiff. No errors were found and there were no previous recoveries.

Has anybody seen anything like this before?

Post your script steps. There is something not right there.

When setting a sxript to run with full access privileges, the Get (PrivilegeSetName ) function will *aways* return [Full Access] because that's the privilege set that's running the script. This is usually not what people expect to happen (although it makes sense that it should).

  • Author

Thanks Vaughan,

It was the 'Run script with full access privileges'. I never realized that the Data Viewer reported back the 'intended' Privilege Set even through the script setting over-rode it.

Thanks again.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.