These examples show how to enroll either a group profile or a user profile to the system-default list of NetWare servers and NDS trees.
Group Profile:
To enroll the group profile FINANCE and all its group members on the NDS trees that are defined in the network server attributes (NWSA), enter:
CHGNWSUSRA USRPRF(FINANCE) PRFTYPE(*GROUP) PRPGRPMBR(*ALL) NDSTREELST(*NWSA)
All the FINANCE group members, including JOHN (whose user profile was created according to the directions in Create iSeries group and user profiles for NetWare servers), are now enrolled on NetWare. Future changes to the FINANCE profile, or any user profiles for members of FINANCE, will be propagated to NetWare.
User Profile:
To enroll user profile JOHN on the NDS trees that are defined in the network server attributes (NWSA), enter:
CHGNWSUSRA USRPRF(JOHN) PRFTYPE(*USER) NDSTREELST(*NWSA)
To enroll an iSeries group or user profile on servers other than those defined as network server attributes, you must use the CHGNWSUSRA command. Specify all the NDS trees for that profile, even if most of them are defined in the network server attributes.