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

129 lines
4.8 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>Grant User Permission (GRTUSRPMN)</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="GRTUSRPMN.Top_Of_Page"></a>
<h2>Grant User Permission (GRTUSRPMN)</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="#GRTUSRPMN.PARAMETERS.TABLE">Parameters</a><br>
<a href="#GRTUSRPMN.COMMAND.EXAMPLES">Examples</a><br>
<a href="#GRTUSRPMN.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="GRTUSRPMN"></a>
<p>The Grant User Permission (GRTUSRPMN) command allows you to grant permission for a user to handle documents and folders or to perform OfficeVision/400-related tasks on behalf of another user. Access is restricted to documents, folders, and mail items that are not personal. The users specified must be enrolled in the system distribution directory before you run this command.
</p>
<p><b>Restrictions:</b>
</p>
<p>The user must have all object (*ALLOBJ) special authority to grant permission for a user to work on behalf of another user.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#GRTUSRPMN.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="GRTUSRPMN.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="#GRTUSRPMN.TOUSER"><b>TOUSER</b></a></td>
<td valign="top">To user profile</td>
<td valign="top"><i>Name</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#GRTUSRPMN.FORUSER"><b>FORUSER</b></a></td>
<td valign="top">For user profile</td>
<td valign="top">Single values: <b><u>*CURRENT</u></b><br>Other values (up to 300 repetitions): <i>Name</i></td>
<td valign="top">Optional, Positional 2</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#GRTUSRPMN.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="GRTUSRPMN.TOUSER"></a>
<h3>To user profile (TOUSER)</h3>
<p>Specifies the name of the user profile that is permitted to work on behalf of the user specified on the <b>For user profile (FORUSER)</b> parameter. Access is restricted to OfficeVision/400 documents, folders, and mail items that are not personal. The user profile must exist, and the user must be enrolled in the system distribution directory before you run this command.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#GRTUSRPMN.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="GRTUSRPMN.FORUSER"></a>
<h3>For user profile (FORUSER)</h3>
<p>Specifies the names of the user profiles for which the user specified on the <b>To user profile (TOUSER)</b> parameter works. The users must be enrolled in the system distribution directory before you run this command.
</p>
<dl>
<dt><b><u>*CURRENT</u></b></dt>
<dd>You are granting permission to someone working on your behalf.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the user profile on whose behalf the user specified on the <b>To user profile (TOUSER)</b> parameter works.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#GRTUSRPMN.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="GRTUSRPMN.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
GRTUSRPMN TOUSER(JUDY) FORUSER(PEGGY)
</pre>
</p>
<p>JUDY is the administrative assistant for an executive. This command allows JUDY to work with documents or folders for PEGGY that are not personal.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#GRTUSRPMN.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="GRTUSRPMN.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF9007</b></dt>
<dd>User permission given for &amp;1 users, not given &amp;2 users.
</dd>
<dt><b>CPF9009</b></dt>
<dd>System requires file &amp;1 in &amp;2 be journaled.
</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>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#GRTUSRPMN.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>