DROP USER Statement

Removes a user.

Syntax

DROP USER  user-name

Parameters

Examples

Standards

  • SQL – ISO/ANSI SQL compliant.

  • Sybase – Not supported by Adaptive Server Enterprise.

Permissions

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