CL Command Reference - CHGAUTLE

CL Command List > CHGAUTLE Reference

Description:

The Change Authorization List Entry (CHGAUTLE) command changes the authorities for users on authorization lists. The authorities that the users have on the authorization list are replaced with the authorities specified on the command. The authorization list must already exist and the users must be on the list. If the user specified is not on the list, a message is issued.

The users who can use this command to change the authorization list are: the owner of the authorization list, a user with authorization list management (*AUTLMGT) authority on the list, or a user with all object (*ALLOBJ) special authority.

To change a user¡¯s authorities, you must specify the name of the authorization list, a list of users, and a list of authorities. All users specified in the list are given the same authorities. The authorities of each user on the list are changed to the authorities specified. Authority can be specified for all users who do not have specific authority, who are not on the authorization list, and whose groups have no authority, by specifying USER(*PUBLIC).

Restrictions:
. Only the owner of the list, or a user with all object (*ALLOBJ) special authority, can add a user with authorization list management (*AUTLMGT) authority.
. A user with *AUTLMGT authority can change a user¡¯s authority. They must also have the specific authority to be added or removed.



Examples:

CHGAUTLE AUTL(DEPT48X) USER(KARENG KARENS JEFF JULIE DARL)
AUT(*CHANGE)

This command changes the authority that users KARENG, KARENS, JEFF, JULIE, and DARL have on the authorization list to *CHANGE. *CHANGE gives the users object operational authority and all data authorities to the objects secured by the authorization list.