DROP USER
- Last Updated: December 12, 2014
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Deletes the specified user.
Syntax
|
Parameters
- username
-
Specifies the user name to be deleted. The username must be enclosed in single quotes.
- domain_name
-
Specifies the domain name that the user is associated with. The
username@domain_namemust be enclosed in single quotes.
Notes
In a database with tenants, users, and domains, a DBA must complete the following steps to drop a tenant from the database:
- DROP USER for every user in the domain.
- DROP DOMAIN for every domain defined for the tenant. For more information on dropping a user.
- DROP TENANT.
Example
Dropping a user
In this example, an account with DBA privileges drops the username
‘Jasper':
|
Dropping a user associated with a domain
The example displayed below shows how to drop a user associated with a domain. An user with
DBA privileges deletes the user Jasper associated with
the domain name mtdomain:
|