DROP USER Statement

Removes a user.

Quick Links:

Go to Parameters

Go to Examples

Go to Standards

Go to Permissions

Syntax

DROP USER user-name

Parameters

(back to top)

Examples

(back to top)

Standards

(back to top)

  • SQL–ISO/ANSI SQL compliant.
  • SAP Sybase Database product–Not supported by Adaptive Server.

Permissions

(back to top)

Requires the MANAGE ANY USER system privilege.

Note: When dropping a user, any objects owned by this user and any permissions granted by this user will be removed.
Related reference
CREATE LOGIN POLICY Statement
CREATE USER Statement
DROP LOGIN POLICY Statement
ALTER LOGIN POLICY Statement
GRANT ROLE Statement
GRANT System Privilege Statement
REVOKE System Privilege Statement
REVOKE ROLE Statement