7.7.14.2 REVOKE ROLE

Purpose

The REVOKE ROLE command revokes the role for a user.

Syntax

REVOKE ROLE { ALL | role1 [, role2, ...] } FROM USER { ALL | user1 [, user2...] }

Usage Notes

  • role is the name of a role.

  • user is the name of a user.

  • The ALL argument revokes all roles from the user.

  • The FROM USER ALL argument revokes the role from all users.

Examples

The following example shows how to revoke a role from a user.

Example 7-216 Revoking a Role From a User

CellCLI> REVOKE ROLE gd_monitor FROM USER jdoe