Add a New User Profile
To add a new user profile mapping information to LANSA for the Web, call the W3@P2300 program with the following parameters:
Parameter |
Type |
Description |
Action |
CHAR(3) |
This will be 'ADD' if you are adding a new user profile mapping. |
Web user profile |
CHAR(256) |
This is the Web user profile as defined in your Web serving product. This value is case sensitive and must be entered in the actual case. |
System Name |
CHAR(50) |
This is the system name to be used by the Web user. Use *DEFAULT as your Default Parameter or specify either the IP Address or DNS Name. |
Port Number |
CHAR(5) |
This is the port number corresponding to the Web user profile and System Name. |
IBM i User profile |
CHAR(10) |
This is the IBM i profile associated with the Web user profile. |
IBM i user password |
CHAR(256) |
This is the password associated with the IBM i user profile. This value is case sensitive and must be entered in the actual case. |
Timeout period for this new user |
CHAR(11) |
This parameter is optional. The timeout period must be specified in seconds. |
For example:
CALL W3@P2300 PARM('ADD' 'WEBUSER' '*DEFAULT' '99999' 'QPGMR' 'PASSWD' '600')