Using the Remove User option

You can use the Remove User option on the Work with User Enrollment display to delete a user profile.

From the Work with User Enrollment display, type 4 (Remove) in front of the profile you want to delete. You see the Remove User display:

                                 
                                 Remove User
 
User . . . . . . . . . . . :   HOGANR
User description . . . . . :   Sales and Marketing Department
 
 
To remove this user type a choice below, then press Enter.
 
     1. Give all objects owned by this user to a new owner
     2. Delete or change owner of specific objects owned by this user.
 

To change the ownership of all objects before deleting the profile, select option 1. You see a display prompting you for the new owner.

To handle the objects individually, select option 2. You see a detailed Remove User display:

                                 
                                 Remove User
 
User . . . . . . . . . . . :   HOGANR
User description . . . . . :   Hogan, Richard - Warehouse DPT
 
New owner  . . . . . . . . .                    Name, F4 for list
 
To remove this user, delete or change owner of all objects.
Type options below and press Enter.
  2=Change to new owner   4=Delete   5=Display details
 
 
Opt  Object        Library       Description
 4   HOGANR        QUSRSYS       HOGANR message queue
 2   QUERY1        DPTWH         Inventory Query, on-hand report
 2   QUERY2        DPTWH         Inventory Query, on-order report
 
Use the options on the display to delete objects or transfer them to a new owner. When all objects have been removed from the display, you can delete the profile.
Notes:
  1. You can use F13 to delete all the objects owned by the user profile.
  2. Spooled files do not appear on the Work with Objects by Owner display. You can delete a user profile even though that profile still owns spooled files. After you have deleted a user profile, use the Work with Spooled Files (WRKSPLF) command to locate and delete any spooled files owned by the user profile, if they are no longer needed.
  3. Any objects for which the deleted user profile was the primary group will have a primary group of *NONE.