CL Command Reference - RMVDIRE

CL Command List > RMVDIRE Reference

Description:

The Remove Directory Entry (RMVDIRE) command allows you to remove a specific user entry from the system distribution directory. When a user ID and address is removed from the directory, it is also removed from any distribution lists. If a user ID and address has multiple descriptions associated with it, options exist to remove only a specific description or all descriptions.

If an *ANY user is removed and an *ANY *ANY directory entry exists, the user is not removed from the distribution lists but the description is changed to the *ANY *ANY description.

Restrictions:

1. You must have security administrator (*SECADM) special authority.

2. The user entry being removed must not have ownership of documents or folders in the local Document Interchange Architecture (DIA) library.

3. If the user entry being removed has incoming distributions on its distribution queue and the remove request was submitted interactively, an inquiry message appears asking whether the mail should be removed. If the answer is no, the user entry is not removed from the directory. If the command was submitted in a batch program, the mail is not cleared and the user entry is not removed from the directory.


Examples:

RMVDIRE USRID(HURST NEWYORK) USRD(¡¯Manager of Payroll¡¯)

User ID and address HURST NEWYORK is removed if the following is true:
. An entry exists in the directory with the specified user ID, address, and description.
. The user does not own any documents or folders in the document interchange architecture (DIA) library.
. The user is not enrolled in the OfficeVision.
. The user has received all mail from the mail queue.

In addition, the user is removed from all distribution lists.