Get(LayoutAccess)

 <  Day Day Up  >  

Get(LayoutAccess)

Category: Get

Syntax: Get ( LayoutAccess )

Parameters: none

Description: Returns a number that represents the current user 's record access privileges level for the current layout. Privileges are assigned in the Custom Layout Privileges dialog box (File, Define, Accounts & Privileges).

Examples:

 

 Get(LayoutAccess) 

Returns , if the custom layout privileges of an account's privilege set allow "no access" to records via this layout.

Returns 1 , if the custom layout privileges of an account's privilege set allow "view only" access to records via this layout.

Returns 2 , if the custom layout privileges of an account's privilege set allow "modifiable" access to records via this layout.

Comments:

The Get (LayoutAccess) function can be used to alert users of restricted privileges at the layout level. Note that Get (LayoutAccess) returns information about only the current layout. Record access privileges for any other layout are not represented.

Note also that Get (LayoutAccess) does not return information about whether or not the layout itself is accessible, but rather what access the user has to edit record data via the current layout.

The Get (RecordAccess) function evaluates record access privileges independent of the Get (LayoutAccess) function. To fully evaluate record access, evaluate the return values of both the Get (LayoutAccess) and Get (RecordAccess) functions.

 <  Day Day Up  >  


QUE CORPORATION - Using Filemaker pro X
QUE CORPORATION - Using Filemaker pro X
ISBN: N/A
EAN: N/A
Year: 2003
Pages: 494

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net