78 lines
3.9 KiB
HTML
78 lines
3.9 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="copyright" content="(C) Copyright IBM Corporation 2005" />
|
|
<meta name="DC.rights.owner" content="(C) Copyright IBM Corporation 2005" />
|
|
<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="concept" />
|
|
<meta name="DC.Title" content="cwbUN_CheckObjectAuthority" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzakxapis.htm" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="rzakxcwbuncheckobjectauthor" />
|
|
<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>cwbUN_CheckObjectAuthority</title>
|
|
</head>
|
|
<body id="rzakxcwbuncheckobjectauthor"><a name="rzakxcwbuncheckobjectauthor"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">cwbUN_CheckObjectAuthority</h1>
|
|
<div><p><strong>Purpose</strong></p>
|
|
<p>Returns an indication of whether the iSeries™ Navigator user has authority
|
|
to a particular object on the iSeries server.</p>
|
|
<p><strong>Syntax</strong></p>
|
|
<pre>CWBAPI unsigned int WINAPI cwbUN_CheckObjectAuthority(
|
|
const char * szObjectPath,
|
|
const char * szObjectType,
|
|
const char * szAuthorityType,
|
|
const char * szSystemName
|
|
);</pre>
|
|
<p><strong>Parameters</strong></p>
|
|
<dl><dt class="dlterm">const char * szObjectPath - input</dt>
|
|
<dd>The iSeries object
|
|
path for which authority is to be checked.</dd>
|
|
<dt class="dlterm">const char * szObjectType - input</dt>
|
|
<dd>The iSeries object
|
|
type for the object for which authority is to be checked, for example *DTAQ.</dd>
|
|
<dt class="dlterm">const char * szAuthorityType - input</dt>
|
|
<dd>The iSeries object
|
|
authority to be checked. Possible values are: <p>If more than one authority
|
|
is to be checked, the authorities should be concatenated (for example, *OBJMGT*OBJEXIST).
|
|
Up to eleven authority types may be specified on a single call. The function
|
|
will return CWB_OK only if the user has all of the specified authorities to
|
|
the object.</p>
|
|
</dd>
|
|
<dt class="dlterm">const char * szSystemName - input</dt>
|
|
<dd>The name of the iSeries system on which to perform the check.</dd>
|
|
</dl>
|
|
<p><strong>Return Codes</strong></p>
|
|
<p>The following list shows common return values:</p>
|
|
<dl><dt class="dlterm">CWB_OK</dt>
|
|
<dd>The user has the specified authority to the object.</dd>
|
|
<dt class="dlterm">CWBUN_USER_NOT_AUTHORIZED</dt>
|
|
<dd>The user does not have the specified authority.</dd>
|
|
<dt class="dlterm">CWBUN_OBJECT_NOT_FOUND</dt>
|
|
<dd>The specified object could not be checked.</dd>
|
|
<dt class="dlterm">CWBUN_INTERNAL_ERROR</dt>
|
|
<dd>Object authority could not be checked.</dd>
|
|
</dl>
|
|
<p><strong>Usage</strong></p>
|
|
<p>If *EXCLUDE is specified as an authority, no other authority types may
|
|
be specified. *AUTLMGT is valid only if 'szObjectType' is *AUTL.</p>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakxapis.htm" title="iSeries Navigator APIs help plug-in developers obtain and manage certain types of global information.">iSeries Navigator APIs</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |