These functions mosly control a user's access within a QA Build program. They can be invoked by selecting a procedure type of Run another program.
For example, entering %LOGON in the Command field will cause the procedure to prompt the user for a name and a password.
There is currently one command that is not user-related:
Return to environment that called this program. The calling environment may be another QAB program or DP4 menu system or the operating system.
Lock program until user enters password.
If you specify no map for the procedure, the logon function will use a standard map. However, you may specify a map of your own. It must include local fields 1 and 2, both of length 8.
Log user off and restart program from the beginning.
Prompt user for name and password.
After the user has logged on, the program will use the language, the access read and write levels and the display preferences of that user.
If you specify no map for the procedure, the logon function will use a standard map. However, you may specify a map of your own. It must include local fields 1 and 2, both of length 8.
Prompt user to change the password.
Allow user to change colours and other display attributes. The changes will only affect the current user.
Can be used with %LOGON and %LOGOFF, to allow a temporary user to log on and use a particular function of a program. This may be particularly useful, where a supervisor must log on to perform a function which requires a high access level.
%LOGON %TEMPORARY Logs on a temporary user
%LOGOFF %TEMPORARY Logs off a temporary user and restores the original user. This does not restart the program. The program flow continues in the standard manner.