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

188 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">
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
<title>Change Server Guest (QZLSCHSG) 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. -->
<!-- QZLSCHSG SCRIPT A converted by B2H R4.1 (346) (CMS) by KENTALA -->
<!-- at RCHVMW2 on 7 Oct 1998 at 21:30:28 -->
<!-- Change History: -->
<!-- YYMMDD USERID Change description -->
<!--File Edited 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>Change Server Guest (QZLSCHSG) API</h2>
<div class="box" style="width: 60%;">
<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%">Guest user profile</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">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 Change Server Guest (QZLSCHSG) API changes the user profile used by the
iSeries Support for Windows Network Neighborhood server when an unknown user
requests access to shared resources on the system. The changes made with this
API do not take effect until the server is restarted.</p>
<p>A user profile with any special authority cannot be specified as the guest
profile.</p>
<br>
<h3>Authorities and Locks</h3>
<p>To use this API, you must have both *IOSYSCFG and *SECADM special
authorities.</p>
<dl>
<dt><em>Guest user profile</em></dt>
<dd>*USE</dd>
</dl>
<br>
<h3>Required Parameter Group</h3>
<dl>
<dt><strong>Guest user profile</strong></dt>
<dd>INPUT; CHAR(10)
<p>The user profile for the iSeries Support for Windows Network Neighborhood
server access by unknown users. If this field is blank, unknown users will not
have access to resources on the system.</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>.</p>
</dd>
</dl>
<br>
<h3>Error Messages</h3>
<table width="100%" cellpadding="5">
<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">CPF3CF1 E</td>
<td width="85%" valign="top">Error code parameter not valid.</td>
</tr>
<tr>
<td valign="top">CPF3CF2 E</td>
<td valign="top">Error(s) occurred during running of &amp;1 API.</td>
</tr>
<tr>
<td valign="top">CPFA0D4 E</td>
<td valign="top">File system error occurred.</td>
</tr>
<tr>
<td valign="top">CPFB682 E</td>
<td valign="top">API &amp;1 failed with reason code &amp;2.</td>
</tr>
<tr>
<td valign="top">CPFB683 E</td>
<td valign="top">Data conversion failed for API &amp;1.</td>
</tr>
<tr>
<td valign="top">CPFB684 E</td>
<td valign="top">User does not have the correct authority for API &amp;1.</td>
</tr>
<tr>
<td valign="top">CPFB686 E</td>
<td valign="top">Error configuring iSeries Support for Windows Network
Neighborhood (iSeries NetServer).</td>
</tr>
<tr>
<td valign="top">CPFB687 E</td>
<td valign="top">Cannot find the guest user profile &amp;3.</td>
</tr>
<tr>
<td valign="top">CPFB68C E</td>
<td valign="top">Requested guest user profile &amp;2 has incorrect
authority.</td>
</tr>
<tr>
<td valign="top">CPIB685 E</td>
<td valign="top">Error occurred on iSeries Support for Windows Network
Neighborhood (iSeries NetServer) request.</td>
</tr>
</table>
<br>
<hr>
API introduced: V4R2
<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>