Pre and post processes are batch files or shell scripts that you can run before or after job phases. You can impersonate a user when running the pre or post commands.
For more information, refer to the topic about the specific action that you want to perform in Advanced.