Revoke User Permission (RVKUSRPMN)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Revoke User Permission (RVKUSRPMN) command allows you to revoke user permission from one user (or all users) to access documents or folders on behalf of another user.

Note: If work is being done on behalf of another user at the time this command is running, functions that have started are completed; however, additional functions are not accepted.

Restrictions:

You must have all object (*ALLOBJ) special authority to revoke document authority for other users.

Top

Parameters

Keyword Description Choices Notes
FROMUSER From user profile Name, *ALL Required, Positional 1
FORUSER For user profile Single values: *CURRENT
Other values (up to 300 repetitions): Name
Optional, Positional 2
Top

From user profile (FROMUSER)

Specifies the user profile name of the user whose permission is revoked.

This is a required parameter.

name
Specify the name of the user profile that is no longer permitted to work on behalf of the user specified on the For user profile (FORUSER) parameter.
*ALL
All users who are currently permitted to work on behalf of other users are no longer permitted to do so.
Top

For user profile (FORUSER)

Specifies the user profile name of the user on whose behalf the user specified on the From user profile (FROMUSER) parameter can no longer work.

*CURRENT
The user specified on the From user profile (FROMUSER) parameter can no longer work on your behalf.
name
Specify the name of the user profile on whose behalf other users are no longer permitted to work.
Top

Examples

RVKUSRPMN   FROMUSER(JOHNSON)  FORUSER(ANDERSON)

This command takes away user permission from JOHNSON for ANDERSON. The user JOHNSON is no longer allowed to work on behalf of ANDERSON.

Top

Error messages

*ESCAPE Messages

CPF9008
User permission revoked for &1 users, not revoked for &2.
CPF9009
System requires file &1 in &2 be journaled.
CPF9024
System cannot get correct record to finish operation.
CPF9845
Error occurred while opening file &1.
CPF9846
Error while processing file &1 in library &2.
CPF9847
Error occurred while closing file &1 in library &2.
Top