Functions Reference

Table Of Contents
92 FileMaker Functions Reference
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 FileMaker Pro Help 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].
Get(RecordAccess)
Format
Get(RecordAccess)
Parameter
None
Data type returned
number
Description
Returns a number based on the current record’s access privileges, assigned through the
Custom Record Privileges dialog box.
Returns:
0 if the custom record privileges of an account’s privilege set have neither View nor
Edit privileges set to yes for the current record.
1 if the custom record privileges of an account’s privilege set have View set to yes for
the current record, or if View is set to limited and the calculation defined for limited
access returns a value of true.
Note If both View and Edit are set to yes, Get(RecordAccess) returns 2.
2 if the custom record privileges of an account’s privilege set have Edit set to yes for
the current record, or if Edit is set to limited and the calculation defined for limited
access returns a value of true.
See FileMaker Pro Help for more details about limiting access to records.