50 lines
3.0 KiB
HTML
50 lines
3.0 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 xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-us">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<meta name="dc.language" scheme="rfc1766" 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. -->
|
||
|
<meta name="dc.date" scheme="iso8601" content="2005-09-06" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2000, 2006" />
|
||
|
<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="keywords" content="specifying an NDS tree list, examples" />
|
||
|
<title>Examples: Specify an NDS tree list</title>
|
||
|
<link rel="stylesheet" type="text/css" href="ibmidwb.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="ic.css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<a id="Top_Of_Page" name="Top_Of_Page"></a><!-- Java sync-link -->
|
||
|
<script language = "Javascript" src = "../rzahg/synch.js" type="text/javascript"></script>
|
||
|
|
||
|
|
||
|
<a name="treelist"></a>
|
||
|
<h5 id="treelist">Examples: Specify an NDS tree list</h5>
|
||
|
<a name="wq40"></a>
|
||
|
<div class="notetitle" id="wq40">Note:</div>
|
||
|
<div class="notebody">Read the <a href="rzaef02.htm#netwcodedisclaimer">Code disclaimer information</a> for important legal
|
||
|
information.</div><a id="idx111" name="idx111"></a>
|
||
|
<p>These examples show how to enroll either a group profile or a user profile
|
||
|
in NDS tree <tt class="xph">XYZ</tt>.</p>
|
||
|
<p><span class="bold">Group Profile:</span></p>
|
||
|
<p>To enroll group profile FINANCE and all of its group members in context <tt class="xph">O=MAIN</tt> in NDS tree <tt class="xph">XYZ</tt>, enter: </p>
|
||
|
<pre class="xmp"> CHGNWSUSRA USRPRF(FINANCE) PRFTYPE(*GROUP) PRPGRPMBR(*ALL)
|
||
|
NDSTREELST((XYZ 'O=MAIN' PUBSRV1 NWLOGIN))</pre>
|
||
|
<p>The FINANCE group object and user objects corresponding to the iSeries group
|
||
|
members are created in the NDS tree. From now on, users added to or removed
|
||
|
from iSeries FINANCE group profile are added or removed from NDS tree <tt class="xph">XYZ</tt>.</p>
|
||
|
<p><span class="bold">User Profile:</span></p>
|
||
|
<p>To enroll user profile MIKE in context <tt class="xph">MAIN.PERSONNEL</tt> in NDS tree <tt class="xph">XYZ</tt>, enter: </p>
|
||
|
<pre class="xmp"> CHGNWSUSRA USRPRF(MIKE) PRFTYPE(*USER)
|
||
|
NDSTREELST((XYZ '.PERSONNEL.MAIN' PUBSRV1 NWLOGIN))</pre>
|
||
|
<p>The MIKE user object is created in NDS tree <tt class="xph">XYZ</tt> and will use <tt class="xph">NWLOGIN</tt> as his login script.</p>
|
||
|
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
|
||
|
</body>
|
||
|
</html>
|