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.

Get(AccountPrivilegeSetName) ..... help please

Featured Replies

Hi,

 

I want to be able to display the AccountPrivilegeSetName for my users in the user table. I'm reading that Get(AccountPrivilegeSetName) should be able to do this for me, but the help file makes it looks as if it's going to return MY set until I change the "context" of the calculation. I'm finding little written guidance on how to do that and the test's I've tried are consistently showing MY set. 

 

Can you help

Many thanks

It is always going to show the priv set of the user that is logged in, not anyone else's priv set.

the help file makes it looks as if it's going to return MY set until I change the "context" of the calculation.

 

No, it is going to return the name of the privilege set of the account that is logged in at the time the function is evaluated.

 

If you are using this in a calculation field, makes sure to set it to unstored - otherwise the function will not be re-evaluated when another user logs in, and it will keep displaying your set's name.

  • Author

Thanks for clarification

 

Is there ANY way for showing the privilege set of a user from the perspective of an entry in a user user table e.g.

 

user 1 | admin | etc | etc

user 2 |  staff   | etc | etc

user 3 |  temp  | etc | etc

Is there ANY way for showing the privilege set of a user from the perspective of an entry in a user user table

 

Not that I know of. You must populate the field when you add the user and assign them to a privilege set.

 

Alternatively, if you have the Advanced version, you can get this information by producing a Database Design Report.

  • Author

Think I'll do that then,

 

Thanks for your help

Please exercise extreme care is using such a table to assign or to control privileges for a user in the system.  This is an exceptionally vulnerable area.  It is a target-rich environment.

 

Steven

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.