Examples: Specify *NWSA
Note:
Read the Code disclaimer information for important legal information.

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) 
Notes:
  1. You cannot specify *NWSA as the NDS tree list if you want to specify additional servers that were not defined in the network server attributes.

    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.

  2. You might not want to specify *NWSA if your NetWare authorization differs from one NDS context to another and you want to enroll iSeries users in the context that matches the wanted authorization.