All,
Am trying to track down an issue in a CGI.
To be clear, who would you expect this task to run as 'iw_user' or the TeamSite UI user.
Do you need to use the TeamSite CGI wrapper in order that a CGI task will run as 'iw_user'.
At present getlogin() within the CGI script returns an empty string.
<cgitask name="My Task"
owner="__TAG__('iw_user');"
description="My Task"
immediate="t"
start="t"
lock="f">
<areavpath v="__TAG__('iw_workarea');"/>
<successors>
<successorset description="One">
<succ v="end"/>
</successorset>
<successorset description="Two">
<succ v="end"/>
</successorset>
</successors>
<command v='__INSERT__("/iw-bin/path/to/my.cgi");' />
</cgitask>
Many Thanks.