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

146 lines
5.4 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<!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 Authorized Users (DSPAUTUSR)</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="DSPAUTUSR.Top_Of_Page"></a>
<h2>Display Authorized Users (DSPAUTUSR)</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="#DSPAUTUSR.PARAMETERS.TABLE">Parameters</a><br>
<a href="#DSPAUTUSR.COMMAND.EXAMPLES">Examples</a><br>
<a href="#DSPAUTUSR.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="DSPAUTUSR"></a>
<p>The Display Authorized Users (DSPAUTUSR) command displays or prints the names of the authorized system users, in alphabetic order. The following information is provided for each user: the group profile of which the user is a member, the most recent password change date, whether the user profile has a password, the text of the user profile, whether the user has a password for password levels 0 or 1, whether the user has a password for password levels 2 or 3, whether the user has a password for use with iSeries 400 Support for Windows Network Neighborhood (iSeries 400 NetServer), and the local password management value.
</p>
<p>
<b>Note: </b>While this command is searching for user profile information to display, another job cannot change user profiles (for example, with the Change User Profile (CHGUSRPRF) command).
</p>
<p><b>Restrictions:</b>
</p>
<ul>
<li>The list of system users contains only the names of the user profiles to which the user of this command has at least read (*READ) authority.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPAUTUSR.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="DSPAUTUSR.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="#DSPAUTUSR.SEQ"><b>SEQ</b></a></td>
<td valign="top">Sequence</td>
<td valign="top"><b><u>*USRPRF</u></b>, *GRPPRF</td>
<td valign="top">Optional, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#DSPAUTUSR.OUTPUT"><b>OUTPUT</b></a></td>
<td valign="top">Output</td>
<td valign="top"><b><u>*</u></b>, *PRINT</td>
<td valign="top">Optional, Positional 2</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#DSPAUTUSR.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="DSPAUTUSR.SEQ"></a>
<h3>Sequence (SEQ)</h3>
<p>Specifies whether the list of system users is in alphabetic sequence by user profile name or by group profile name.
</p>
<dl>
<dt><b><u>*USRPRF</u></b></dt>
<dd>The list is in alphabetic sequence by user profile name.
</dd>
<dt><b>*GRPPRF</b></dt>
<dd>The list is in alphabetic sequence by group profile name. The members of each group are listed in alphabetical order by user profile name.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPAUTUSR.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DSPAUTUSR.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 (if requested by an interactive job) or printed with the job's spooled output (if requested by a batch job).
</dd>
</dl>
<dl>
<dt><b>*PRINT</b></dt>
<dd>The output is printed with the job's spooled output.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPAUTUSR.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DSPAUTUSR.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Displaying Authorized Users and Group Profile Names</b>
</p>
<p>
<pre>
DSPAUTUSR
</pre>
</p>
<p>This command shows the list of authorized users and their group profile names. The list is in alphabetic sequence by user profile name. OUTPUT(*) is also assumed; the list is shown on the display or printed depending on whether the command was submitted at a work station or as part of the batch input stream.
</p>
<p><b>Example 2: Printing Output</b>
</p>
<p>
<pre>
DSPAUTUSR SEQ(*GRPPRF) OUTPUT(*PRINT)
</pre>
</p>
<p>This command causes authorized system user profile names and their group profile names to be printed. The output is printed in alphabetic sequence by group profile name.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPAUTUSR.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DSPAUTUSR.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF2225</b></dt>
<dd>Not able to allocate internal system object.
</dd>
<dt><b>CPF2237</b></dt>
<dd>Not authorized to display list of users.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPAUTUSR.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>