ibm-information-center/dist/eclipse/plugins/i5OS.ic.apis_5.4.0.1/qfpadpnu.htm

366 lines
9.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">
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
<title>Process Network Server User (QFPADPNU) API</title>
<!-- Begin Header Records ========================================== -->
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<!-- QFPADPNU SCRIPT A converted by B2H R4.1 (346) (CMS) by V2DCIJB -->
<!-- at RCHVMW2 on 20 Aug 1999 at 12:37:54 -->
<!-- Change History: -->
<!-- YYMMDD USERID Change description -->
<!-- NL Kryka 9/22/00 for removing CPF2204 -->
<!-- Nancy Kryka 12196.1 server rebranding 10/30/00 V5R1 -->
<!-- Nancy Kryka 12196.1 Authority & Intro 11/06/00 V5R1 -->
<!--File cleanup completed Oct 2001 by Janet Brauckman -->
<!-- End Header Records -->
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body>
<a name="Top_Of_Page"></a>
<!--Java sync-link-->
<script type="text/javascript" language="Javascript" src="../rzahg/synch.js">
</script>
<h2>Process Network Server User (QFPADPNU) API</h2>
<div class="box" style="width: 80%;">
<br>
&nbsp;&nbsp;Required Parameter Group:<br>
<!-- iddvc RMBR -->
<br>
<table width="100%">
<tr>
<td align="center" valign="top" width="10%">1</td>
<td align="left" valign="top" width="50%">Option</td>
<td align="left" valign="top" width="20%">Input</td>
<td align="left" valign="top" width="20%">Char(10)</td>
</tr>
<tr>
<td align="center" valign="top">2</td>
<td align="left" valign="top">Profile type</td>
<td align="left" valign="top">Input</td>
<td align="left" valign="top">Char(10)</td>
</tr>
<tr>
<td align="center" valign="top">3</td>
<td align="left" valign="top">Profile name</td>
<td align="left" valign="top">Input</td>
<td align="left" valign="top">Char(10)</td>
</tr>
<tr>
<td align="center" valign="top">4</td>
<td align="left" valign="top">Windows domain name</td>
<td align="left" valign="top">Input</td>
<td align="left" valign="top">Char(*)</td>
</tr>
<tr>
<td align="center" valign="top">5</td>
<td align="left" valign="top">Length of Windows domain name</td>
<td align="left" valign="top">Input</td>
<td align="left" valign="top">Binary(4)</td>
</tr>
<tr>
<td align="center" valign="top">6</td>
<td align="left" valign="top">Windows server name</td>
<td align="left" valign="top">Input</td>
<td align="left" valign="top">Char(*)</td>
</tr>
<tr>
<td align="center" valign="top">7</td>
<td align="left" valign="top">Length of Windows server name</td>
<td align="left" valign="top">Input</td>
<td align="left" valign="top">Binary(4)</td>
</tr>
<tr>
<td align="center" valign="top">8</td>
<td align="left" valign="top">Error code</td>
<td align="left" valign="top">I/O</td>
<td align="left" valign="top">Char(*)</td>
</tr>
</table>
<br>
&nbsp;&nbsp;Default Public Authority: *USE<br>
<!-- iddvc RMBR -->
<br>
&nbsp;&nbsp;Threadsafe: No<br>
<!-- iddvc RMBR -->
<br>
</div>
<p>The Process Network Server User (QFPADPNU) API performs an error recovery
operation on a selected user or group enrollment entry for a particular Windows
domain or server.</p>
<p>Enrollment and unenrollment requests can fail for various reasons. If an
enrollment or unenrollment request has failed, the administrator can correct
the error and then use this API with the *RETRY option to retry the failed
enrollment or unenrollment request. If an unenrollment request has failed and
the error cannot be corrected, the administrator can use this API with the
*REMOVE option to remove the user or group from the list of enrolled users or
groups for a domain or server.</p>
<br>
<h3>Authorities and Locks</h3>
<dl>
<dt><em>User profile</em></dt>
<dd>*READ</dd>
</dl>
<br>
<h3>Required Parameter Group</h3>
<dl>
<dt><strong>Option</strong></dt>
<dd>INPUT; CHAR(10)
<p>The type of operation to be performed. You must use one of the following
options:</p>
<table cellpadding="5">
<!-- cols="10 90" -->
<tr>
<td align="left" valign="top"><em>*REMOVE</em></td>
<td align="left" valign="top">This option removes the entry from the list of
users or groups that are enrolled to a Windows domain or server. This option is
only valid for those entries that are in the process of being unenrolled
(status of unenrollment pending, unenrollment retry pending, or unenrollment
failed).</td>
</tr>
<tr>
<td align="left" valign="top"></td>
<td align="left" valign="top">For example, if an unenrollment request failed
because the server that the user was enrolled to no longer exists, then the
administrator could use the *REMOVE option of this API to remove the user from
the enrollment list for that server.</td>
</tr>
<tr>
<td align="left" valign="top"><em>*RETRY</em></td>
<td align="left" valign="top">This option immediately retries the enrollment
request to the Windows domain or server. This option is normally used after an
enrollment or unenrollment request has failed and the reason for the failure
has been corrected.</td>
</tr>
<tr>
<td align="left" valign="top"></td>
<td align="left" valign="top">For example, if an enrollment request failed
because the user template does not exist on the server, then the administrator
could create the user template and then use the *RETRY option of this API to
reattempt the enrollment request.</td>
</tr>
</table>
<br>
</dd>
<dt><strong>Profile type</strong></dt>
<dd>INPUT; CHAR(10)
<p>Whether profile information is for a user profile or group profile. Values
can be:</p>
<table cellpadding="5">
<!-- cols="15 85" -->
<tr>
<td align="left" valign="top"><em>*USER</em></td>
<td align="left" valign="top">The profile information is for a user profile on
the selected domain or server.</td>
</tr>
<tr>
<td align="left" valign="top"><em>*GROUP</em></td>
<td align="left" valign="top">The profile information is for a group profile on
the selected domain or server</td>
</tr>
</table>
<br>
</dd>
<dt><strong>Profile name</strong></dt>
<dd>INPUT; CHAR(10)
<p>The name of the profile to process. Allowable values are:</p>
<table cellpadding="5">
<!-- cols="15 85" -->
<tr>
<td align="left" valign="top"><em>Profile name</em></td>
<td align="left" valign="top">Perform the operation for the specified user or
group profile.</td>
</tr>
</table>
<p><strong>Usage note:</strong> Avoid the use of characters '5B'X, '7B'X, and
'7C'X (CCSID 37 characters '$', '#', and '@', respectively) in profile
names.</p>
</dd>
<dt><strong>Windows domain name</strong></dt>
<dd>INPUT; CHAR(*)
<p>The name of the Windows domain to process. Allowable values are:</p>
<table cellpadding="5">
<!-- cols="15 85" -->
<tr>
<td align="left" valign="top"><em>*NONE</em></td>
<td align="left" valign="top">No domain is to be processed.</td>
</tr>
<tr>
<td align="left" valign="top"><em>Domain name</em></td>
<td align="left" valign="top">Perform the operation for the specified
domain.</td>
</tr>
</table>
<br>
</dd>
<dt><strong>Length of Windows domain name</strong></dt>
<dd>INPUT; BINARY(4)
<p>The length of the Windows domain name.</p>
</dd>
<dt><strong>Windows server name</strong></dt>
<dd>INPUT; CHAR(*)
<p>The name of the Windows server to process. Allowable values are:</p>
<table cellpadding="5">
<!-- cols="15 85" -->
<tr>
<td align="left" valign="top"><em>*NONE</em></td>
<td align="left" valign="top">No server are to be processed.</td>
</tr>
<tr>
<td valign="top"><em>Server name</em></td>
<td valign="top">Perform the operation for the specified server.</td>
</tr>
</table>
<br>
</dd>
<dt><strong>Length of Windows server name</strong></dt>
<dd>INPUT; BINARY(4)
<p>The length of the Windows server name.</p>
</dd>
<dt><strong>Error code</strong></dt>
<dd>I/O; CHAR(*)
<p>The structure in which to return error information. For the format of the
structure, see <a href="../apiref/error.htm#hdrerrcod">Error Code Parameter</a>. If this
parameter is omitted, diagnostic and escape messages are issued to the
application.</p>
</dd>
</dl>
<br>
<h3>Error Messages</h3>
<table width="100%">
<tr>
<th align="left" valign="top">Message ID</th>
<th align="left" valign="top">Error Message Text</th>
</tr>
<tr>
<td width="15%" valign="top">CPF24B4 E</td>
<td width="85%" valign="top">Severe error while addressing parameter list.</td>
</tr>
<tr>
<td valign="top">CPF2634 E</td>
<td valign="top">Not authorized to object &amp;1.</td>
</tr>
<tr>
<td valign="top">CPF3C1D E</td>
<td valign="top">Length specified in parameter &amp;1 not valid.</td>
</tr>
<tr>
<td valign="top">CPF3C3C E</td>
<td valign="top">Value for parameter &amp;1 not valid.</td>
</tr>
<tr>
<td valign="top">CPF3CF1 E</td>
<td valign="top">Error code parameter not valid.</td>
</tr>
<tr>
<td valign="top">CPF3C36 E</td>
<td valign="top">Number of parameters, &amp;1, entered for this API was not
valid.</td>
</tr>
<tr>
<td valign="top">CPF9872 E</td>
<td valign="top">Program or service program &amp;1 in library &amp;2 ended.
Reason code &amp;3.</td>
</tr>
<tr>
<td valign="top">CPF9999 E</td>
<td valign="top">Function check. &amp;1 unmonitored by &amp;2 at statement
&amp;5, instruction &amp;3.</td>
</tr>
</table>
<br>
<hr>
API introduced: V5R1<br>
<hr>
<center>
<table cellpadding="2" cellspacing="2">
<tr align="center">
<td valign="middle" align="center"><a href="#Top_Of_Page">Top</a> | <a href=
"ss1.htm">Server Support APIs</a> | <a href="aplist.htm">APIs by
category</a></td>
</tr>
</table>
</center>
</body>
</html>