PMDF popstore & MessageStore Manager's Guide


Previous Contents Index


delete-Remove a user account or a user's messages

Remove user accounts from the popstore or delete users' stored messages.

Syntax

delete username

Command Switches
-confirm
-group=name
-log
-messages
-prompt
-return -noreturn

Parameters

username

Name of the account to delete. Can contain wild card characters.

Description

Use the delete command to remove a user account. By default, stored messages for the account are deleted silently. To cause unread messages to be returned to their originator as undelivered, specify -return . Use the -messages switch 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 switch can be used to further constrain which accounts are deleted.

Command Switches

-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.

-group=name

Name of a management group to constrain the operation to. This switch can be used in conjunction with a username parameter containing wild card characters so as to further constrain the delete operation.

-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 card characters are used in which case -log is the default.

-messages

When the -messages switch is specified, only the user's messages are deleted or returned. The account itself is not deleted.

-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.

-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.

Examples

To delete the account jdoe , issue the command


popstore> delete jdoe


Previous Next Contents Index