You use the DBM option –ud to delete the data and corresponding XUSER entry for a database user in the XUSER program.
To delete this data, you have to log on to XUSER either with the data of the database user to be deleted or with the user data registered under the user key DEFAULT.
To identify the user whose data is to be deleted, specify a combination of the name of the database instance and the database server, or an XUSER key.
We recommend that you use the XUSER tool directly.
See also: XUSER
Unlike user names and passwords, the Database Manager treats key names as case sensitive.
-ud
...
1.
Logging on as the user to be deleted in
the XUSER program (example: user DAVID with password BLUE),
To identify the user to be deleted, specify a combination of the
database name and server name (example: database name HOTELDB, database server GENUA).
-u <user_name>,<password> -ud -d <database_name> [-n <database_server>]
-u DAVID,BLUE -ud -d HOTELDB -n GENUA
2.
Logging on to the XUSER program with the user data
stored under the XUSER key DEFAULT (example: user BORIS with password PINK),
To identify the user to be deleted, specify a combination of the database name
and server name (example: database name HOTELDB, database server GENUA).
–ux <default_user>,<password> -ud -d <database_name> [-n <database_server>]
-ux BORIS,PINK -ud -d HOTELDB -n GENUA
3.
Logging on as the user to be deleted in the XUSER
program (example: user DAVIDwith password BLUE),
To identify
the user to be deleted, specify the user’s XUSER key (example:
DAKEY).
-u <user_name>,<password> -ud -uk <user_key>
-u DAVID,BLUE -ud -uk DAKEY
4.
Logging on to the XUSER program with the user data
stored under the XUSER key DEFAULT (example: user BORIS with password PINK),
To identify the user to be deleted, specify the user’s XUSER key
(example: DAKEY).
-ux <default_user>,<password> -ud -uk <user_key>
-ux BORIS,PINK -ud -uk DAKEY