View Single Post
Old 10-25-2012, 02:25 PM
rtb rtb is offline
VanDyke Technical Support
Join Date: Aug 2008
Posts: 4,305
Hi Adrian,

Thanks for the update. A quick internet search says that the following should work for Perl, but I have not tested it:
For those interested in other languages, here are a couple of VBScript examples that are known to work:
Set objNetwork = CreateObject("")
MsgBox objNetwork.UserName & "@" & objNetwork.UserDomain
Set objShell = CreateObject("")
set objEnv = objShell.Environment("PROCESS")
MsgBox objEnv("USERNAME") & "@" & objEnv("USERDOMAIN")
Here is a Python example that works as well:
import getpass
We will post to this thread if we add the ability to make custom dialogs in a future SecureCRT release.

If you would like to be notified directly, please complete and submit the form at the following location:
Submit Feature Request

VanDyke Software
Technical Support
Reply With Quote