ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/dspusrpmn.htm

176 lines
5.7 KiB
HTML

<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Display User Permission (DSPUSRPMN)</title>
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body bgcolor="white">
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<a name="DSPUSRPMN.Top_Of_Page"></a>
<h2>Display User Permission (DSPUSRPMN)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
<b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#DSPUSRPMN.PARAMETERS.TABLE">Parameters</a><br>
<a href="#DSPUSRPMN.COMMAND.EXAMPLES">Examples</a><br>
<a href="#DSPUSRPMN.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="DSPUSRPMN"></a>
<p>The Display User Permission (DSPUSRPMN) command allows you to show which users are permitted to handle documents or folders and perform OfficeVision/400-related tasks on behalf of another user, or to show which users have permitted other users to work on their behalf.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPUSRPMN.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="DSPUSRPMN.PARAMETERS.TABLE">Parameters</a></h3>
<table border="1" cellpadding="4" cellspacing="0">
<!-- col1="10" col2="15" col3="30" col4="10" -->
<tr>
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
</tr>
<tr>
<td valign="top"><a href="#DSPUSRPMN.USER"><b>USER</b></a></td>
<td valign="top">User profile</td>
<td valign="top">Single values: <b><u>*CURRENT</u></b>, *ALL<br>Other values (up to 300 repetitions): <i>Name</i></td>
<td valign="top">Optional, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#DSPUSRPMN.GRANTED"><b>GRANTED</b></a></td>
<td valign="top">Granted to/from</td>
<td valign="top"><i>Character value</i>, <b><u>*TO</u></b>, *FROM</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#DSPUSRPMN.OUTPUT"><b>OUTPUT</b></a></td>
<td valign="top">Output</td>
<td valign="top"><b><u>*</u></b>, *PRINT</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#DSPUSRPMN.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="DSPUSRPMN.USER"></a>
<h3>User profile (USER)</h3>
<p>Specifies the name of the user profile for which the information is shown. The name on this parameter must be enrolled in the system distribution directory before you run this command.
</p>
<dl>
<dt><b><u>*CURRENT</u></b></dt>
<dd>Your user permission information is shown.
</dd>
<dt><b>*ALL</b></dt>
<dd>Information is shown for all users in the information directory.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the user profile for which information is shown.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPUSRPMN.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DSPUSRPMN.GRANTED"></a>
<h3>Granted to/from (GRANTED)</h3>
<p>Specifies whether the output produced should display the granted-to relationships or granted-from relationships of a user or users.
</p>
<dl>
<dt><b><u>*TO</u></b></dt>
<dd>Users who are permitted to work on behalf of the specified user are shown.
</dd>
<dt><b>*FROM</b></dt>
<dd>Users that have permitted the specified user to work on their behalf are shown.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPUSRPMN.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DSPUSRPMN.OUTPUT"></a>
<h3>Output (OUTPUT)</h3>
<p>Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.
</p>
<dl>
<dt><b><u>*</u></b></dt>
<dd>The output is displayed at the requesting work station if requested by an interactive job. If this is not an interactive job, the output is printed with the job's spooled output.
</dd>
</dl>
<dl>
<dt><b>*PRINT</b></dt>
<dd>The output is printed with the job's spooled output.
</dd>
</dl>
<dl>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPUSRPMN.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DSPUSRPMN.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Displaying Names of Users</b>
</p>
<p>
<pre>
DSPUSRPMN USER(*CURRENT) GRANTED(*TO) OUTPUT(*PRINT)
</pre>
</p>
<p>This command prints the names of the users who are permitted to work on behalf of the current user.
</p>
<p><b>Example 2: Printing Names of Users</b>
</p>
<p>
<pre>
DSPUSRPMN USER(*ALL) GRANTED(*TO) OUTPUT(*PRINT)
</pre>
</p>
<p>This command prints the names of all users who have permitted other users to work on their behalf as well as the names of the other users.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPUSRPMN.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DSPUSRPMN.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF9043</b></dt>
<dd>User permission is not displayed because error occurred.
</dd>
<dt><b>CPF9845</b></dt>
<dd>Error occurred while opening file &amp;1.
</dd>
<dt><b>CPF9846</b></dt>
<dd>Error while processing file &amp;1 in library &amp;2.
</dd>
<dt><b>CPF9847</b></dt>
<dd>Error occurred while closing file &amp;1 in library &amp;2.
</dd>
<dt><b>CPF9850</b></dt>
<dd>Override of printer file &amp;1 not allowed.
</dd>
<dt><b>CPF9851</b></dt>
<dd>Overflow value for file &amp;1 in &amp;2 too small.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPUSRPMN.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>