#Password |
Top Previous Next |
The #Password object provides a password management function. Up to 32767 authorization levels can be implemented with the password management function. Each object can be assigned a specific password level using the PWL=<level> option. The password level after a program start is 0. Entering the master password (Option: Master_PW=<x>) sets the highest authorization level (32767). Passwords with appropriate authorization levels 1, 2, ... can be defined with the system variables /S/APP/password_1, /S/APP/password_2, ... of type WSTRING. The PWL=<x> button action enables the current authorization level to be reset, for example when leaving a screen page. Access is allowed if the current password level >= the PWL option of the object.
Parameters Object
Action
ActionLimit1
VarValue
VarType
Option
Option Bitwise=AND With this option it is possible to use the 15 bits of the PWL for 15 authorization levels which can be configured to access the functions in a matrix. System variables password_1, password_2, ... of type WSTRING can be used to define passwords for the relevant authorization levels 1 (Bit0=1), 2 (Bit1=1), .... The current PWL is ANDed with the object-specific PWL: Access allowed if: (current PWL AND PWL option) > 0
Example
The service has access to Screenpage3, but not Screenpage 2 and 1. The operator has access to Screenpage1 and 3, but not to Screenpage2. At the login the current PWL is set accordingly (e.g. Service Bit2=1 -> PWL=4). This makes all objects accessible that have Bit 2 = 1 in the PWL option.
Difference to EPAM3
|