Get(CurrentPrivilegeSetName)Returns the name of the privilege set that is being used to evaluate this calculation in the database file. See also Get(AccountPrivilegeSetName) function.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].
• 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].
• For a current user in the sales department, Get(CurrentPrivilegeSetName) might return [Data Entry Only].For a user with Read-Only Access to a database who is running a script that is set to run with full access privileges, Get(AccountPrivilegeSetName)returns [Read-Only Access] but Get(CurrentPrivilegeSetName)returns [Full Access] (for the current script).