CL Command Reference - EDTOBJAUT

CL Command List > EDTOBJAUT Reference

Description:

The Edit Object Authority (EDTOBJAUT) command displays the list of authorized users of an object and their associated user authorities. If you own the object, or have *ALLOBJ special authority, you can add, change or remove authority for the object. If you have object management authority for the object, you can remove your specific authorities or grant or remove them for other users.

The following are displayed for the specified object:
. The object name
. The name of the library containing the object
. The name of the object¡¯s owner
. The object¡¯s type
. A list of all the users who are authorized to use the object
. The authority that each user has for the object
. The authorization list name is displayed when the object is secured by an authorization list.

If an object does not have an owner name associated with it, no authorities for the object are shown.

Restrictions:

1. The user must have object management authority to the object to use this command.

2. If the object is a file, the user must have object operational and object management authorities.

3. You must have *USE authority to the auxiliary storage pool device if one is specified.


Examples:

EDTOBJAUT OBJ(ARLIB/PROG1) OBJTYPE(*PGM)

This command causes the list of authorized users and their authorities for the object named PROG1 to be shown, but only if the user has object management authority for the object. PROG1 is a program (*PGM) located in the library named ARLIB.