So my other project is on ice until September 26th. But I found something else to fix.
We have a salary system combined with a schedule system. We log in to it now and then but now to the thing I want to fix. For some reason we have to use third party software (Citrix) to log in to this system. So first we have to log in to the third party software and then the salary system. Now the passwords are the same and sync if ever changed anywhere.
The way Citrix works is it starts a remote access to a windows desktop and inside the app we have shortcuts to application like outlook, salary system and the internal network. 2 of those are just links to web pages that has to be run inside the internal network. Passwords inside the bat file would still be secure as the bat file would be located on your own hard drive that evry employee has access to only thro thire own login.
I have found a way for a bat file to open a web page and enter the log in credentials, but once again this need to be as simple as possible so I need a way for this bat file to get the login credentials for windows (witch are synced with the salary system) and input them in to this other website.
As the user can change password I don't want them to have to go in to the bat file and change what the bat file will put in to the website. It all has to be automated. It should just work.
Could not get it to work with the script above but found a working VbScript.
Now really I just need windows to give me the login credentials. I don't need to see them just have them entered into the login form on this other website.
As the login using the remote access app on my phone is the same as login to windows, outlook and this website I want in to automatically. I just need a way to get that info be passed along using the VbScript to this website and logged in.
Windows doesn't provide an API for that but you can use a tool like this to get the credentials of the currently logged in user. Not sure if it works on newer winOSes.
Personally I would use AutoIt to scrape the output of the tool and get the user/pass. And I would use AutoIt to automate an Internet Explorer session and so on. No batch file or vbscript gayness.
Windows doesn't provide an API for that but you can use a tool like this to get the credentials of the currently logged in user. Not sure if it works on newer winOSes.
Personally I would use AutoIt to scrape the output of the tool and get the user/pass. And I would use AutoIt to automate an Internet Explorer session and so on. No batch file or vbscript gayness.
Thank you. There is a sso inside Citrix, don't know why they don't use it.
Signature/Avatar nuking: none (can be changed in your profile)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum