Go to Contents
Previous
Page
Next
Page
Contents > Functions reference (alphabetical list) > Get functions > Get(PrivilegeSetName) function

Get(PrivilegeSetName) function
Format

Get(PrivilegeSetName)
Parameter
None
Data type returned
text
Description
Returns the name of the privilege set assigned to the account being used by the current user of the database file. If a user is using the default Admin account and you haven't modified access privileges for the database file, Get(PrivilegeSetName) 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.
See Solving calculations on a host machine for information about running scripts in client/server and peer-to-peer environments.
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

Contents > Functions reference (alphabetical list) > Get functions > Get(PrivilegeSetName) function
Previous
Page
Next
Page