If you do not specify -older N, -nologin, or -srclogin switches with the delete action, a list of i-Planet users to be removed will be read from a text file. You can provide the file name on the command line to identify the file to be used. If you do not specify a file, ./users will be used.
UserAdminCL reads a list of login IDs from the users file and deletes each one from the system.
The format of this users file is identical to the users file described in the section "Creating New i-Planet Users From a Text File". However, only the session.uid property is used and all other content is ignored.
Type the following to delete i-Planet users according to a list, for example:
# java com.sun.stnr.useradmin.UserAdminCL +action delete -interactive |
This command returns confirmation that the users who meet the criterion in the command are deleted:
+ deleted login=bob + deleted login=bill + deleted login=jab |
You can specify the -interactive switch to prevent prompting.