Technote (FAQ)
Question
How does TEM RunAsCurrentUser actionscript command determine which user to execute as?
Answer
The RunAsCurrentUser actionscript command has an internal decision logic flow that resembles the following:
- If a local windows user (this is a user, physically at the computer and in the primary windows console) is logged on the machine and active, run as that user.
- If no active local user exists, run as the first active remotely connected user.
- If no active (local or remote) user exists, run as the first inactive user.
- Otherwise, return exit code -1 to indicate the command was not successfully executed.
Rate this page:
Average rating
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.