Remove DLO Authority (RMVDLOAUT)

The Remove Document Library Object Authority (RMVDLOAUT) command allows you to remove an existing user authority for documents or folders.

The following types of authority can be removed:

Restrictions:

You must have all (*ALL) authority to the objects or all object (*ALLOBJ) special authority, or be the owner of the objects to use this command.

Parameters

Keyword Description Choices Notes
DLO Document library object Character value, *SYSOBJNAM, *ALL Required, Positional 1
FLR Folder Character value, *NONE Optional
USER User profile Single values: *SAME, *ALL
Other values (up to 50 repetitions): Element list
Optional, Positional 2
Element 1: User profile Name
AUTL Authorization list Name, *SAME Optional
ACC Document access code Values (up to 50 repetitions): 0-2047, *SAME, *ALL Optional
SYSOBJNAM System object name Name Optional

Document library object (DLO)

Specifies the document or folder for which authority is removed.

*ALL
All objects in a specified folder have user authority removed. If *ALL is specified, the Folder (FLR) parameter is required.
*SYSOBJNAM
The system object name specified on the System object name (SYSOBJNAM) parameter has user authority removed.
name
Specify the user-assigned name of the document or folder for which user authority is removed. A maximum of 12 characters can be specified.

Folder (FLR)

Specifies the folder where the object specified is located. If *SYSOBJNAM is specified on the Document library object (DLO) parameter, this parameter is ignored.

*NONE
A folder name is not specified. If a name is specified on the Document library object (DLO) parameter, and the object is located in a folder, then *NONE cannot be specified. If *ALL is specified on the Document library object (DLO) parameter, then *NONE cannot be specified.
name
Specify the user-assigned name of the folder where the object specified is located. The name can consist of a series of folder names if the folder containing the object is located in another folder. A maximum of 63 characters can be specified.

User profile (USER)

Specifies the names of users whose specific authority is removed.

*SAME
The specific authority is not removed.
*ALL
All users' specific user authority is removed (except for the owner of the object).
name
Specify the name of the user profile that has specific authority removed.

Authorization list (AUTL)

Specifies the name of the existing authorization list whose authority for the object is removed.

*SAME
The authority specified in the existing authorization list for the object is not removed.
name
Specify the name of the existing authorization list whose authority for the object is removed.

Document access code (ACC)

Specifies the access codes to be removed for the object.

*SAME
No access codes for the object are removed.
*ALL
All access codes for the object are removed.
0-2047
Specify the access codes which are to be removed. A maximum of 50 access codes can be specified.

System object name (SYSOBJNAM)

Specifies the system object name of the document or folder.

name
Specify the system object name of the document or folder using the entire 10 characters.

Examples

RMVDLOAUT   DLO(DOCA)  FLR(MYFLR)  AUTL(MYLIST)

This command removes the authority of the authorization list MYLIST for object DOCA in folder MYFLR.

Error messages

*ESCAPE Messages

CPF8A75
Not authorized to access folder &1.
CPF8A77
Folder &1 not found.
CPF8A78
Folder &1 in use.
CPF8A79
Folder &1 is logically damaged.
CPF8A80
Document &2 in use in folder &1.
CPF8A82
Document &2 not found in folder &1.
CPF8A83
Not authorized to access document &2 in folder &1.
CPF8A88
Operation not allowed on document &2 in folder &1.
CPF8A89
Document &2 in folder &1 is logically damaged.
CPF90BA
Authority request for document library object failed.
CPF9073
No authority to view or change the security of document library object &1.
CPF908A
Requester &1 not enrolled.
CPF908B
Document library object not found.
CPF908E
&1 objects changed; &2 objects not changed.
CPF909A
Document &2 in folder &1 is damaged.
CPF9095
Folder &1 is damaged.