Functions Reference

Table Of Contents
Get functions
F
ILEMAKER FUNCTIONS REFERENCE 127
Get(CurrentPrivilegeSetName)
Purpose
Returns the name of the privilege set being used to evaluate this calculation in the file.
Format
Get(CurrentPrivilegeSetName)
Parameters
None
Data type returned
text
Originated in
FileMaker Pro 6.0 or earlier
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].
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 this function is evaluated in a script that is set to run with full access privileges,
Get(CurrentPrivilegeSetName) returns [Full Access].
For information on how functions evaluate differently on the host versus the client, search
the FileMaker Knowledge Base available at
http://help.filemaker.com.
See also Get(AccountPrivilegeSetName) function.
Examples
For current user Administrator, Get(CurrentPrivilegeSetName) might return [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).