Entry points > Module Supervisor > Standard script GESUSER 

INIVAR

This entry point is used to define certain values of the specific/custom user parameters on entering X3 or in the situation of a user change, during the declaration of global variables.

Context and operating mode

This entry point is used to give a value to the global variables according to the connected user code.

No mask nor table is on-line.

SCONNECT

The SCONNECT entry point is used to refuse connection to a user.

Context and operating mode

This entry point is placed just after all the access controls (user code, password) and just before the transaction carried out to update the connection tag in the AUTILIS table.
The GUSER global variable is entered.
To prevent the connection, the following must be selected GMENDEP="".

ECONNECT

This entry point is used to enter variables fo the connection aborting workflow following a password control.

Context and operating mode

This entry point is located after the user password control if the password is not correct and just before the call for the workflow ('CON' type) and the abortion of the connection.

GUSER global variable is entered and GMESSAGE variable contain the control's error message.