Remove user accounts from the popstore or delete users' messages. Syntax DELETE username[,...] Command Qualifiers Defaults /CONFIRM /GROUP=name /LOG /MESSAGES /PROMPT /RETURN /NORETURN
1 – Parameters
username Name of the account to delete. Can contain wild card characters.
2 – Description
Use the DELETE command to remove one or more user accounts. By default, stored messages for the accounts are deleted silently. To cause unread messages to be returned to their originators as undelivered, specify /RETURN. Use the /MESSAGES qualifier to delete or return a user's messages. The account itself will not be deleted. When the USERNAME parameter contains wild card characters, all matching accounts within the manager's management group and subgroups thereof will be deleted. The /GROUP qualifier can be used to further constrain which accounts are deleted.
3 – Command Qualifiers
3.1 /CONFIRM
/CONFIRM /NOCONFIRM Prompt for positive confirmation before carrying out the indicated operation. When wild cards are not used, /NOCONFIRM is the default. When wild cards are used, /CONFIRM is the default and a prompt is issued for each account to be operated upon. Moreover, when wild cards are used, /NOCONFIRM causes only a single prompt to be issued-it does not eliminate the prompt altogether.
3.2 /GROUP
/GROUP=name Name of a management group to constrain the operation to. This qualifier can be used in conjunction with a username parameter containing wild card characters so as to further constrain the delete operation.
3.3 /LOG
/LOG /NOLOG When the operation is successful, output a status message stating that the operation succeeded. Note that error messages are always indicated. /NOLOG is the default behavior unless wild cards are used in which case /LOG is the default.
3.4 /MESSAGES
When the /MESSAGES qualifier is specified, only the user's messages are deleted or returned. The account itself is not deleted.
3.5 /PROMPT
/PROMPT (default) /NOPROMPT By default if a wildcard is used, even if /NOCONFIRM is specified, one confirmation prompt is issued. If /NOPROMPT is specified, there is no prompting at all.
3.6 /RETURN
/RETURN /NORETURN (default) When /RETURN is specified, unread messages are returned to their originator as undelivered. By default unread messages are deleted without sending a non-delivery notice back to their originators.
4 – Examples
To delete the accounts JDOE and BSMITH, issue the command popstore> DELETE JDOE,BSMITH