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.


user role revoke --u UserName --r Roles
Required Argument Description
Yes --u UserName Specifies the name of the user whose role you want to revoke.
Yes --r Roles Specifies 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.


This example revokes the role USBanking from the user allan12.

user role revoke --u allan12 --r USBanking