![]() |
Next Page |
| Contents > Functions reference (alphabetical list) > Get functions > Get(RecordAccess) function |
|
|
| Get(RecordAccess) function |
| 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. |
|
|
Note If both View and Edit are set to yes, Get(RecordAccess) returns 2. |
| See Editing record access privileges for more details about limiting access to records. |
| Notes |
| Get(RecordAccess) only returns information about the privileges defined for accessing records. It ignores access privileges assigned through individual layouts. To fully check access to a record, consider the return values of the Get(LayoutAccess) function and Get(RecordAccess). |
| 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. |
| Example |
| Returns 1 when the record access is view-only. |
| Related topics |
| 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(RecordAccess) function | Next Page |