@@43 Security level

The Security level function is only accessible when M3 PWB is used together with the M3 BE server.

This section describes the programming syntax that is used for setting up the security level. If you make any customization of this function, then the changes must be inherited in all panel files containing the @@43 control function.

Syntax

@@43;<SL>;<DF>;----;

               |  |

               <ER>
<SL> Security bit mask
>0 True
<0 False
A Any level except 0
Use & for logical AND
<DF> Disable function
F Disable all fields except Push button, tab and list box.
A Disable all fields except tab and list box and F3 (Cancel) and F1 (help).
P Disable all Push buttons except F3 (Cancel) and F1 (help).
<ER> Enable reference
<FIELD1>;<FIELD1>;
<FROM>;...;<TO>;
...;<TO>;
<FROM>;...;
<FKEY1>;<FKEY2>;
and combinations.

Example

Syntax Description
@@43;2;F; All fields are disabled except Push button, tab and list box when security level (IPASCL) has bit0 set.
@@43;-2;F; All fields are disabled except Push button, tab and list box when security level (IPASCL) has bit0 cleared.
@@43;3;A;F0;F7;8;...;11; All fields disabled except tab, list box, field #8 to #11 and Push buttons with action F0 and F7 when security level (IPASCL) is 3 (bit0 and bit1 set)
@@43;2;P; All Push buttons except F3 (cancel) and F1 (help) are disabled.
@@43;1&-2;P; Disable all Push buttons except F3 (Cancel) and F1 (help) when security level (IPASCL) has bit0 set and bit1 cleared.