Use the variable you create under "Current level" to submit the access authority level of a currently logged in user to the user management. The user management accesses this variable with the following functions:
Function:
|
Action:
|
Login
|
Filled with the value of the access authority level of the successfully logged in user.
|
Logout
|
Filled with the lowest access authority level (0).
|
In order to open the dialogue for creating a variable, click on .
The dialogue for creating an analogue variable will pop up.
For our example, the variable was called "Act_UsrLevel" and the "Default value" parameter was set to 0. Dialogue / Register Base. The operating type was left at the default value. This means that the variable is set to the lowest level at initialisation.
The parameters in the "Functions" and "Process connection" registers are irrelevant for the demo project. You need to define a process connection if the <%VARSPS%> are supposed to be able to access the variable content.
|