If you specify either the -nologin or -older N switches, i-Planet users are removed based on their last update time (stored as the value for the i-Planet user's Common.UpdateTime property). You can view this property with the get action.
If you specify -nologin, then users who have not yet logged in will be deleted (Common.UpdateTime property is null).
If you specify -older N, then users with an update time of more than N days from the present are deleted.
Any user that is deleted with the -nologin switch is also removed by the -older N switch. Specifying -older 0 selects all users.
Type the following to delete i-Planet users based on last login time using the -older N switch, for example:
# java com.sun.stnr.useradmin.UserAdminCL +action -interactive delete -older 30 |
Confirm that you want the user indicated deleted by typing y or n:
+ delete login=bob [yes/no] y + deleted login=bob + delete login=bill [yes/no] y + deleted login=bill + delete login=bob [yes/no] n + no action for login=jan |
Type the following to delete i-Planet users based on last login time using the -nologin switch, for example:
# java com.sun.stnr.useradmin.UserAdminCL +action delete -interactive -nologin |
Confirm that you want the user indicated deleted by typing y or n:
+ delete login=bob [yes/no] y + deleted login=bob |