user role revoke

The user role revoke command removes a role from a user so that the user no longer has the privileges granted by the role.

Usage

user role revoke --u UserName --r Roles
RequiredArgumentDescription
Yes--u UserNameSpecifies the name of the user whose role you want to revoke.
Yes--r RolesSpecifies the role you want to revoke. Separate multiple roles with a comma. Do not use spaces. If the role name contains a space, enclose the role in quotes.

Example

This example revokes the role USBanking from the user allan12.

user role revoke --u allan12 --r USBanking