DROP USER
Synopsis
Use the DROP USER
statement to drop a user or role. DROP USER
is an alias for DROP ROLE
and is used to drop a role.
Syntax
drop_user ::= DROP USER [ IF EXISTS ] role_name [ , ... ]
drop_user
Semantics
See DROP ROLE
for more details.
Example
- Drop a user.
yugabyte=# DROP USER John;
See also
当前内容版权归 YugabyteDB 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 YugabyteDB .