+

Search Tips   |   Advanced Search

(iSeries)

rvkwasaut command

The rvkwasaut command revokes user authority to a profile and the objects associated with it.

For usage instructions and examples, see Revoke authority to a profile. To run this script, your user profile must have *ALLOBJ authority.


Syntax

The command syntax is as follows:

rvkwasaut [-profileName profile] [-user usrprf | -authlist none]
 [-object path] [-recursive] [-verbose] [-help]


Parameters

The following options are available for the rvkwasaut command:

-profileName

Optional. The value profile specifies the name of the profile to which we are revoking authority. The default is default.

-user

The value usrprf specifies the user profile from which we are revoking authority. To revoke authority from multiple user profiles, specify all of the user profiles with a single -user parameter. Enclose the list of profiles in double quotation marks ("). For example, to revoke authority from usrprf1 and usrprf2, specify -user "usrprf1 usrprf2". Specify -user, -authlist, or both.

-authlist

The value none specifies that the current authorization list associated with the object should be removed. If we use the -authlist parameter, specify the value none. Specify either -user, -authlist, or both.

-object

Optional. The value path specifies the subdirectory or partially qualified object name to which we are revoking authority. The profile root is prepended to the value to get the fully-qualified path. If not specified, the default value is the profile root. To revoke authority to multiple objects, run the script for each object.

-recursive

This optional parameter specifies whether to revoke authority to all subdirectories. If not specified, authority is revoked only to the object specified with the -object parameter, or the profile root directory if the -object parameter is not specified. This parameter applies to all objects specified with -object parameters.

-verbose

This optional parameter turns on verbose messages, which can be helpful if we need to debug the script.

-help

This optional parameter displays the help message. If we specify this parameter, the script ignores all other parameters.

  • Use command-line tools