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

Get(AccountPrivilegeSetName) ..... help please


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

Recommended Posts

Posted

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

Posted
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.

Posted

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

Posted

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.

Posted

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

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