To run a database update script, for example, an agent might need to be the "oracle" user; but to update the application, the agent might need to be the "appserver" user. By using impersonation, the same agent can run the script and update the application, which enables you to combine these steps into a single process. For information about user impersonation, see User impersonation.