streamtool rmuserrole

The streamtool rmuserrole command removes a user from the list of users that have a specific role in an instance.

Usage

rmuserrole

Read syntax diagramSkip visual syntax diagram-U--Useruserid-h--help--tracelevel-v--verboselevel role user

Authority

You must have write authority for the config instance object. By default, the InstanceAdministrator role has this authority. For more information about access control lists, see streamtool getacl.

Description

A role is a set of permissions or access rights. You can assign roles to users or groups of users. You can then use roles to secure instance objects by setting the permissions for the role in the IBM® Streams access control list (ACL).

This command removes a user from a role in an instance. To remove a group from a role in an instance, use the streamtool rmgrouprole command.

Options and arguments

-h, --help
Specifies to show the command syntax.
<role>
Specifies a security role. Role names can be 256 characters in length and must be alphanumeric characters or underscores (_).
--trace <level>
Specifies the trace setting. The following valid levels are listed in order of increasing verbosity, which is to say that the first level in the list generates the least amount of information:
  • off
  • error
  • warn
  • info
  • debug
  • trace
The default value is off.
<user>
Specifies a user identifier.
-U, --User <userid>
Specifies an IBM Streams user ID that has authority to run the command.
-v,--verbose <level>
Specifies to provide more detailed command output. The verbosity level can be 0-3, where 0 disables detailed reporting and each increment provides more detailed output.

Examples

In the following example, the command removes the user jsmith from the role testrole:
 [streamsops@myinstance-ops-0 ~]$ streamtool rmuserrole testrole jsmith