Previous Topic: WebCenter SSL Security

Next Topic: Log On to WebCenter

How You Control Access to WebCenter Menu Options

You can control access to WebCenter menu options programmatically by using the variables in the CC2DEXEC($W3MH01X) WebCenter menu user exit.

The exit contains a menu control variable for each menu option in WebCenter. These variables are initially set to TRUE. To prevent access to a particular option, change the value of the control variable for that option to FALSE.

The exit is called when a user logs in to WebCenter. You can update this exit to suit your requirements.

Important! If modifications are required, copy the distributed member to the TESTEXEC data set for the region for modification.

To control access to a menu option for a user, use the &SECCALL NCL verb to query the user's access as defined in UAMS. Then, set the appropriate variables to TRUE or FALSE. The exit contains some sample code.

Note: For more information about the verb, see the Network Control Language Reference Guide.

To control access to a menu option for all users, update the value of its control variable but do not perform an &SECCALL query.

Changes to this exit are not dynamic. For changes to the exit to take effect, the user must log in to WebCenter with a new advanced program-to-program communications (APPC) connection. That is, if a user is logged in when the changes occur, the changes are not evident until they log out and log in again.

Important! Preventing access to a menu option does not mean preventing access to the underlying function. What it does is to prevent users from using the menu option to access the function.