Use the PS_GRANT_OUTPUT_ACCESS script element to dynamically and automatically assign access rights to the output of an executed PeopleSoft process. Rights can be issued for roles or users.
Interface:
PROCESSREQUEST_SBB
PeopleSoft Version: 8+
Syntax
PS_GRANT_OUTPUT_ACCESS
- NAME=...
[,TYPE=...]
[,PID=...]
[,JOBITEM=...]
Parameters
- PS_GRANT_OUTPUT_ACCESS
Authorizes users or roles for access to the output of a PeopleSoft process - NAME=
Authorization identification: Name of a role or user
Format: script literal - TYPE=
(Optional) Authorization type: Role or user
Format: script literal
Allowed values:-
R (default)
Authorization given for a role -
U
Authorization given for a user
Note: The agent automatically uses "R" if a character other than "R" or "U" is specified
-
R (default)
- PID=
(Optional)The number of a particular process instance. PS_GRANT_OUTPUT_ACESS refers to the instance of the process (PS_RUN_PROCESS) or job (PS_RUN_JOB) that was started or monitored most recently, if you do not specify this parameter. For details, see PS_RUN_PROCESS or PS_RUN_JOB
Format: Integer - JOBITEM=
(Optional) The item number of a process within a PeopleSoft job. For example, use JOBITEM=1 to assign rights to the first single process, or JOBITEM=2 to the second single process, etc. Identical rights are given to all PeopleSoft job single processes if you do not define this parameter.
Format: Integer
Example
The user PS gets access rights to the output of a PeopleSoft process in the following example:
PS_GRANT_OUTPUT_ACCESS NAME='PS',TYPE='U'
See also:
seealso