Command reference / sec

ADDAUTLE

Add Authorization List Entry

Adds a user profile and that user's authorities to an authorization list. The list and the user profile must already exist. If the user is already on the list, a message is issued and the existing authorities are left unchanged. Users who can run it are the list owner, a user with *AUTLMGT authority on the list, a user with *ALLOBJ special authority, and a user with the QIBM_DB_SECADM function. QIBM_DB_SECADM users cannot add themselves or change their own authority unless they already hold the required authorities. Each listed user receives the authorities given on the command.

Allowed environments: *ALL. Positional parameters: 3.

Restrictions

Parameters

AUTL Authorization list

Specifies the authorization list to which the users are added. The list must already exist.

Type
*GENERIC
Required
Yes
Length
10
Case
Uppercase

USER User

Specifies one or more user profiles to add to the list, up to 50. A user already on the list keeps its current authorities, and a message is issued.

Type
*NAME
Required
Yes
Length
10
List limit
50
Case
Uppercase

AUT Authority

Specifies the authority given to the users named on the USER parameter. Users must have *AUTLMGT authority to manage the list.

Type
*CHAR
Required
No
Default
*CHANGE
Length
9
List limit
11
Case
Uppercase

Allowed values: *CHANGE, *EXCLUDE, *ALL, *USE, *OBJALTER, *OBJEXIST, *OBJMGT, *OBJOPR, *OBJREF, *ADD, *DLT, *EXECUTE, *READ, *UPD, *AUTLMGT

*EXCLUDE
The user cannot access the object. Cannot be combined with other authority values.
*CHANGE
Performs all operations except those limited to the owner or controlled by *OBJEXIST and *OBJMGT. If the object is an authorization list, the user cannot add, change, or remove users.
*ALL
Performs all operations except those limited to the owner or controlled by *AUTLMGT, including controlling existence, changing security, and transferring ownership.
*USE
Performs basic operations such as running a program or reading a file, but cannot change the object.
*AUTLMGT
Adds, changes, or removes users on the authorization list, and renames or duplicates the list.
*OBJALTER
Alters object attributes. For database files, allows adding or removing triggers and constraints.
*OBJEXIST
Controls object existence and ownership, needed to delete, save, restore, or transfer the object.
*OBJMGT
Manages object security, moves or renames the object, and adds members to database files.
*OBJOPR
Looks at the object description and uses the object, subject to data authority.
*OBJREF
Lets the object be referenced by another object, such as a referential constraint whose parent is the physical file.
*ADD
Adds entries to an object, such as job entries to a queue or records to a file.
*DLT
Removes entries from an object, such as messages from a queue or records from a file.
*EXECUTE
Runs a program or locates an object in a library or directory.
*READ
Shows the contents of an object.
*UPD
Changes the entries in an object.

Examples

ADDAUTLE AUTL(PAYROLL) USER(TOM) AUT(*ALL *AUTLMGT)

Adds user TOM to the PAYROLL authorization list with all authority to the objects it secures, and with authority to manage the list.

IBM command documentation

Generated from os/cl/catalog/ADDAUTLE.json and os/cl/help/ADDAUTLE.json.