Removes the specified user from the system.
DROP USER [ IF EXISTS ] <name>
Specifies the identifier for the user to drop. If the identifier contains spaces, special characters, or mixed-case characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive.
Dropped users cannot be recovered; they must be recreated.
If you want to disable a user, use ALTER USER and set
DISABLED = TRUEinstead.
When you drop a user, the worksheets and dashboards owned by that user are also removed. To retain access to the users worksheets, the user must share the worksheets or a folder of worksheets with another user and grant them edit permissions, or copy the contents of the worksheets to worksheets owned by another user.
DROP USER user1;