Get(AccountPrivilegeSetName)
Returns the privilege set name being used by the account used to open the file.
Format
Get ( AccountPrivilegeSetName )
Parameters
None
Data type returned
text
Originated in version
11.0
Description
If a user is using the default Admin account and you haven't modified access privileges for the file, this function returns [Full Access].
Example 1
For an Administrator, Get(AccountPrivilegeSetName)
might return [Full Access].
Example 2
For a user in the sales department, Get(AccountPrivilegeSetName)
might return [Data Entry Only].
Example 3
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).