1.0

Table Of Contents
CHAPTER 14 Understanding Policies
247
Note: Because the script runs each time the end user launches VMware ACE or resets
the virtual machine, the current date is different each time the script runs. Take this
changing reference point into account in your script.
Device Connection Plug-Ins
The following table outlines the basic information you need to write device
connection plug-ins:
What should the exit code of the
script be?
It should be 0. Any nonzero exit code voids any output to
StdOut.
Question Explanation
When does this script execute? This script executes when the virtual machine is powered on.
What relevant environment variables
are available to the script?
No specific environment variables are available. But you
should set different scripts (scripts with different arguments)
for each device. This enables each script to determine why it
is being called.
What is the expected output? The output of this script is a boolean. Output a value of TRUE
if the user is allowed to change the connection status of the
device or FALSE to deny the user the ability to change the
connection status of the device.
What can I do with this script? The script should determine if the current user is allowed to
change the connection status of a device.
Send TRUE to StdOut to allow permission to change
connection status.
Send FALSE to StdOut to deny permission to change
connection status.
Where should the output of the
script go?
The script should send its output to StdOut.
What should the exit code of the
script be?
The script should always exit with a status of 0.
Questions Explanation