Modify Existing User Information

To modify an existing user's information in LANSA Web, the parameters to the W3@P2300 program would be:

Parameter

Type

Description

Action

CHAR(3)

This is 'CHG' if you want to modify an existing user profile.

Web user profile

CHAR(256)

This is the Web user profile you want to modify. 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.

Password in existing user information

CHAR(256)

This is the password currently held in the user information table in LANSA Web. This value is case sensitive and must be entered in the actual case.

New password to use for user profile

CHAR(256)

This is the new password for the user profile. This value is case sensitive and must be entered in the actual case.

Timeout period

CHAR(11)

This parameter is optional. If this parameter is not specified, the timeout period for the user is not modified.

 

 

For example:

CALL W3@P2300 PARM('CHG' 'WEBUSER' '*DEFAULT' '99999' 'CURRPASSWD' 'NEWPASSWD')