RVKUSRPMN (Revoke User Permission)
RVKUSRPMN Command syntax diagram
Purpose
The Revoke User Permission (RVKUSRPMN) command takes away from one user (or all users) the permission to access documents and folders on behalf of another user.
Note: If work is being done on behalf of another user at the time this command is run, any functions that have started are completed; however, additional functions are not accepted. Restriction: The user must have *ALLOBJ authority to revoke document authority for other users.
Required Parameters
- FROMUSER
- Specifies the user profile name of the user whose permission is being revoked.
*ALL: All users who are currently permitted to work on behalf of another user are no longer permitted.
user-profile-name: Specify the name of the user profile that is no longer permitted to work on behalf of the user specified in the FORUSER parameter.
Optional Parameters
- FORUSER
- Specifies the user profile name of the user on whose behalf the user specified in the FROMUSER parameter can no longer work.
*CURRENT: The user profile that is currently running is used.
user-profile-name: Specify the name of the user profile on whose behalf other users are no longer permitted to work. Up to 50 user profile names can be specified. The user must have *ALLOBJ or *SECADM special authority to specify a user profile other than his or her own.
Example for RVKUSRPMN
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.
Error messages for RVKUSRPMN
*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.