Originally Posted by danf.1979
What I really need right now is to save the username of the user who executes the tool in $username. How can I accomplish this?
You can get the username from the $go_info array. Just insert print_r($go_info); in your code and you get a list of all variables available in the session.