CREATE OR ALTER USER Examples
CREATE OR ALTER USER john PASSWORD 'fYe_3Ksw'
FIRSTNAME 'John'
LASTNAME 'Doe'
INACTIVE;
CREATE OR ALTER USER ExamplesCREATE OR ALTER USER john PASSWORD 'fYe_3Ksw'
FIRSTNAME 'John'
LASTNAME 'Doe'
INACTIVE;
DROP USERDrops a Firebird user account
DSQL
DROP USER username [USING PLUGIN plugin_name]
| Parameter | Description |
|---|---|
username |
Username |
plugin_name |
Name of the user manager plugin |
The optional USING PLUGIN clause explicitly specifies the user manager plugin to use for dropping the user.Only plugins listed in the UserManager configuration for this database (firebird.conf, or overridden in databases.conf) are valid.The default user manager (first in the UserManager configuration) is applied when this clause is not specified.
|
Important
|
Users of the same name created using different user manager plugins are different objects.Therefore, the user created with one user manager plugin can only be dropped by that same plugin. |
|
Note
|
Remember to commit your work if you are working in an application that does not auto-commit DDL. |
To drop a user, the current user must have
administrator privileges in the security database
the USER_MANAGEMENT system privilege in the security database
DROP USER ExampleDeleting the user bobby:
DROP USER bobby;
Removing a user created with the Legacy_UserManager plugin:
DROP USER Godzilla
USING PLUGIN Legacy_UserManager;