OS: Windows 10 Pro (64 Bit)
Can I get some clarification on using embedded credentials in a packaged script? I have added my user name and password to the credentials in settings, packaged it up and ran it outside studio, the username was empty. Code below
I then found this
https://www.sapien.com/blog/2022/01/24/ ... your-code/
with a comment below:
"Language sometime is ambiguous. It will work for packaged executables, provided you have added the credentials to the resources,"
What does Alex mean by "provided you have added the credentials to the resources," What resource? Do I have to use primal script to get this working?
I am using the Script engine as Windows forms, added username and password to the credentials and then saved packaged and then built package. But when it runs the user is empty. I am doing the exact same thing as this guy, except using Windows Forms
Code: Select all
$login = $SAPIENHost.GetUserID(0) $pwd = $SAPIENHost.GetPassword(0) $winscript.popup("login: $login", 2, "Setup", 4160) $winscript.popup("Psw: $pwd", 2, "Setup", 4160)