Delete user mapping
Step
To delete an existing user mapping between database user and NAE user, run the following command:
./pdbctl delusermap -a <database_user_alias> -d <database_user>
Example
The following sample command deletes the mapping of database user INGRIAN:
./pdbctl delusermap -a demo -d INGRIAN
To check if the database user’s (INGRIAN) mapping is successfully deleted, run the listusrmap
command.
./pdbctl listusermap -a demo
Output
---------------------------------
User name: QATEST
Nae User Name: dbusr
---------------------------------
The INGRIAN
user is not listed, indicating the successful deletion of the mapping.