DROP USER (Deprecated)

DROP USER is deprecated and supported for backwards compatibility only. Use ROLE for authentication and authorization.

Removes a user.

Synopsis

DROP USER [ IF EXISTS ] user_name ;

Examples

Drop a user if the user exists:

DROP USER IF EXISTS boone;

Drop a user:

DROP USER montana;

Was this helpful?

Give Feedback

How can we improve the documentation?

© Copyright IBM Corporation 2026 | Privacy policy | Terms of use |  Manage Privacy Choices

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: Contact IBM