![]() |
Next Page |
| Contents > Functions reference (alphabetical list) > Get functions > Get(LayoutAccess) function |
|
|
| Get(LayoutAccess) function |
| Format |
Get(LayoutAccess) |
| Parameter |
| None |
| Data type returned |
| number |
| Description |
| Returns a number based on record access privileges available through the current layout. You assign the privileges in the Custom Layout Privileges dialog box. |
| Returns: |
| 0 if the custom layout privileges of an account's privilege set allow no access to Records via this layout. |
| 2 if the custom layout privileges of an account's privilege set allow modifiable access to Records via this layout. |
| See Editing layouts privileges for more details about limiting access through layouts. |
| Notes |
| Get(LayoutAccess) returns information about record access privileges defined for only the current layout. It ignores current record access privileges for all other layouts. To fully check access through a layout, consider the return values of Get(LayoutAccess) and the Get(RecordAccess) function. |
| 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 layout allows view-only access to records. |
| 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(LayoutAccess) function | Next Page |