Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Grant Workstation Object Authority (GRTWSOAUT) command is used by one user to grant specific authority for the workstation object named in this command to another user or group of users. Workstation objects are used by the i5/OS Graphical Operations program.
Authority can be given to:
When AUT(*AUTL) is specified, the user can The authority for:
This command can be used by an object owner, by the security officer, or by a user with object management authority for the specified object.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
WSOTYPE | Workstation object type | Element list | Required, Positional 1 |
Element 1: | *TPLWRKARA, *WRKARA, *TPLPRTOL, *PRTOL, *TPLPRTL, *PRTL, *TPLOUTQ, *TPLOUTQL, *OUTQL, *TPLJOBL, *JOBL, *TPLJOBQ, *TPLJOBLOG, *JOBLOG, *TPLJOBQL, *JOBQL, *TPLMSGL, *MSGL, *TPLMSGQ, *TPLMSGSND, *MSGSND, *TPLSGNUSL, *SGNUSL, *TPLOBJL, *OBJL, *TPLLIBSL, *LIBSL, *TPLLIB, *LAUNCH, *TPLLAUNCH, *PRSSET | ||
USER | Users | Single values: *PUBLIC Other values (up to 50 repetitions): Qualifier list |
Optional, Positional 2 |
Qualifier 1: Users | Name | ||
AUT | Authority | Single values: *CHANGE, *ALL, *USE, *EXCLUDE, *AUTL Other values (up to 7 repetitions): *OBJEXIST, *OBJMGT, *OBJOPR, *ADD, *DLT, *READ, *UPD |
Optional, Positional 3 |
AUTL | Authorization list | Name | Optional |
REFWSO | Reference workstation object | Element list | Optional |
Element 1: | *TPLWRKARA, *WRKARA, *TPLPRTOL, *PRTOL, *TPLPRTL, *PRTL, *TPLOUTQ, *TPLOUTQL, *OUTQL, *TPLJOBL, *JOBL, *TPLJOBQ, *TPLJOBLOG, *JOBLOG, *TPLJOBQL, *JOBQL, *TPLMSGL, *MSGL, *TPLMSGQ, *TPLMSGSND, *MSGSND, *TPLSGNUSL, *SGNUSL, *TPLOBJL, *OBJL, *TPLLIBSL, *LIBSL, *TPLLIB, *LAUNCH, *TPLLAUNCH, *PRSSET |
Top |
Specifies the workstation objects whose authority is to be editted.
This is a required parameter.
Top |
Specifies one or more users to whom authorities for the named object are to be given. If user names are specified, the authorities are given specifically to those users. Authority given by this command can be revoked specifically by the Revoke Workstation Object Authority (RVKWSOAUT) command.
This is a required parameter unless either the Reference workstation object (REFWSO) parameter or Authorization list (AUTL) parameter is specified.
Top |
Specifies the authority to be given to the users specified on the Users (USER) parameter.
Single values
Note: You can specify AUT(*AUTL) only when USER(*PUBLIC) is also specified.
Other values (up to 10 repetitions)
Data authorities
Top |
Specifies the authorization list whose members are to be given authority for the object specified for the Workstation object type (WSOTYPE) parameter. You must have authorization list management (*AUTLMGT) authority for the specified authorization list.
This is a required parameter unless either the Users (USER) parameter or the Reference workstation object (REFWSO) parameter is specified.
Top |
Specifies the workstation object referred to for authorizations. These authorizations are given to the object specified for the Workstation object type (WSOTYPE) parameter. Users authorized to the reference object are authorized in the same manner to the object for which authority is to be given. If the reference object is secured by an authorization list, that authorization list secures the object specified on the WSOTYPE parameter.
This is a required parameter unless either the Users (USER) parameter or the Authorization list (AUTL) parameter is specified.
Top |
GRTWSOAUT WSOTYPE(*TPLWRKARA) AUTL(KLIST)
This command gives authority to the work are template to the users with authority specified for them on the authorization list KLIST.
Top |
Top |