Get(PrivilegeSetName)
Purpose 
Returns the name of the privilege set assigned to the account being used by the current user of the database file.
Format 
Get(PrivilegeSetName)
Parameters 
None
Data type returned 
text
Description 
If a user is using the default Admin account and you haven’t modified access privileges for the database file, this function returns [Full Access].
Notes
  •
If you specify the context for the current calculation, this function will be evaluated based on that context; otherwise, it will be evaluated based on the context of the current window.
  •
If you select the Run script with full access privileges script option, this function returns [Full Access].
  •
Examples 
For current user Administrator, Get(PrivilegeSetName) might return [Full Access].
For a user in the sales department, Get(PrivilegeSetName) might return [Data Entry Only].
Related topics 
Protecting databases with accounts and privilege sets
Creating accounts that authenticate via an external server
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas