You change the name of the specified DBM operator.
You can change the name of any DBM operator. This includes the name of the currently logged on DBM operator, the first DBM operator, and the database system administrator.
If you change the name of another DBM operator while this operator is logged on to Database Manager using a different DBM server process, the change does not become effective within this DBM server session. Only when this operator logs on again to Database Manager, the new name must be specified for a successful logon.
You have the server authorization UserMgm.
The database instance is in the correct operational state:
You can only change the names of the database system administrator in the ONLINE operational status. You can change the names of all other DBM operators in the ADMIN or OFFLINE operational states as well.
user_rename <dbm_operator> <new_name>
Option | Description |
---|---|
<dbm_operator> | Name of the DBM operator you would like to change |
<new_name> | New name of the DBM operator |
Call the Database Manager CLI, log on as operator OLEG with password MONDAY connect to the database instance DEMODB, change the name of the DBM operator called ELENA to JULIE:
>dbmcli -u OLEG,MONDAY -d DEMODB user_rename ELENA JULIE
OK
Database Administration, Managing Users