7. Changing Ownership of Databases and Database Objects : Changing Ownership of a Database Object : Changing Ownership of Applications : Example: Transfer Ownership of an Application to Another User
 
Share this page                  
Example: Transfer Ownership of an Application to Another User
Assume the user john wants to transfer ownership of the application named app1 in the database mydb to the user dba. The following commands, entered at the operating system prompt, accomplish this, using the default intermediate text file and the current working directory:
copyapp out mydb app1 ‑ujohn
copyapp in mydb iicopyapp.tmp ‑a ‑udba
At this point, there are two copies of the application, one owned by the user john and the other owned by the user dba. In the usual case, John’s application is no longer needed and can be removed using Vision or Application-By-Forms.
For a complete description of the flags and parameters for this command, see the copyapp entry in the Command Reference Guide.