ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaik_5.4.0.1/rzaikdifferences.htm

67 lines
4.7 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference" />
<meta name="DC.Title" content="Differences between cwbCO_Signon and cwbCO_VerifyUserIDPassword" />
<meta name="abstract" content="Following are listed some of the significant differences between cwbCO_Signon and cwbCO_VerifyUserIDPassword." />
<meta name="description" content="Following are listed some of the significant differences between cwbCO_Signon and cwbCO_VerifyUserIDPassword." />
<meta name="DC.Relation" scheme="URI" content="rzaikappncm.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1999, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1999, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="differences" />
<meta name="DC.Language" content="en-us" />
<!-- 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. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Differences between cwbCO_Signon and cwbCO_VerifyUserIDPassword</title>
</head>
<body id="differences"><a name="differences"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Differences between <span class="apiname">cwbCO_Signon</span> and <span class="apiname">cwbCO_VerifyUserIDPassword</span></h1>
<div><p>Following are listed some of the significant differences between <span class="apiname">cwbCO_Signon</span> and <span class="apiname">cwbCO_VerifyUserIDPassword</span>.</p>
<div class="section"><ul><li><span class="apiname">cwbCO_VerifyUserIDPassword</span> requires that a user ID
and password be passed-in (system object values for these will NOT be used),
and will not prompt for this information. <span class="apiname">cwbCO_Signon</span> may
use prompting, depending on other system object settings, and in that case
will use whatever values are supplied by the user for user ID and password
in its validation attempt.</li>
<li>Since <span class="apiname">cwbCO_VerifyUserIDPassword</span> never will prompt
for user ID and password, these settings in the specified system object will
not be changed as a result of that call. A call to <span class="apiname">cwbCO_Signon</span>,
however, may change the user ID or password of the system object as the result
of possible prompting for this information.</li>
<li><span class="apiname">cwbCO_VerifyUserIDPassword</span> ALWAYS will result in a
connection to the iSeries™ system being established to perform user
ID and password validation, and to retrieve current values (such as date and
time of last successful signon) related to signon attempts. <span class="apiname">cwbCO_Signon</span>,
however, might not connect to validate the user ID and password, but instead
may use recent results of a previous validation. This is affected by recency
of previous validation results as well as by the Validation Mode attribute
of the given system object.</li>
<li>The password will be cached in the iSeries password cache only in the case
of the successful completion of <span class="apiname">cwbCO_Signon</span>, never as
the result of a call to <span class="apiname">cwbCO_VerifyUserIDPassword</span>.</li>
<li><span class="apiname">cwbCO_VerifyUserIDPassword</span> NEVER will set the system
object state to 'signed on', whereas a successful <span class="apiname">cwbCO_Signon</span> WILL
change the state to 'signed on'. This is important because when a system object
is in a 'signed on' state, most of its attributes may no longer be changed.</li>
</ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaikappncm.htm" title="The iSeries Access for Windows Communications and Security topic shows you how to use iSeries Access for Windows application programming interfaces (APIs)">iSeries Access for Windows Communications and Security APIs</a></div>
</div>
</div>
</body>
</html>