rhpctl revoke role

Use the rhpctl revoke role command to revoke a role from a client user.

Syntax

rhpctl revoke role –role role_name {-user user_name [-client cluster_name]
   | -grantee role_name}
   | {[-client cluster_name] [-maproles role=user_name[+user_name...]
   [,role=user_name[+user_name...]...]}

Parameters

Table F-23 rhpctl revoke role Parameters

Parameter Description
-role role_name

Specify the name of the role from which you want to revoke clients or users.

-user user_name
-client cluster_name

Specify the name of a user and, optionally, a client cluster from which you want to revoke a role. The user name that you specify must be in the form of user@rhpclient, where rhpclient is the name of the Rapid Home Provisioning Client.

-grantee role_name

Specify the name of the role.

[-client client_name]
-maproles role=
 user_name[+user_name...]

You can map either built-in roles or roles that you have defined to specific users. Use a plus sign (+) to map more than one user to a specific role. Separate additional role/user pairs with commas. Optionally, you can also specify a client cluster.

Example

To revoke a role from a client user: