RunAsEx - Example

Runs the executable setuser.exe as the configured DSM Runtime Service user or the user for the depot access. The return code is stored in the variable su_return.