Page 1 of 2

Manage web credentials outside of TSPlus Admin Tool

Posted: Mon Dec 07, 2015 6:38 pm
by qsrx
Hello,

We are a software development company. Our main product is an ERP system.
The system is built on Windows Forms.
We are planing to build a web hosting based on TSPlus in order to host our ERP system.

How can we manage web credentials outside of TSPlus Admin Tool. We would like to automate this by our software.
Can our software know the user name and the password used with web credentials when the user logged on. We need this in order to authomate the process of user log on. May be the username and password used on log on can be saved to environment variables?

Thank you.

Re: Manage web credentials outside of TSPlus Admin Tool

Posted: Mon Dec 07, 2015 10:52 pm
by johndavies
Hello,

Yes, TSplus is most probably the best solution to web enable efficiently and automatically any Windows application.

Yes, you can handle the user logon and password from your application when the user connection using a Web Credential.
We have customers who do it and it is quite easy for a software editor like you.

The requested information are saved by the AdminTool within a "SYSTEM/Hidden" file named webcredentials.ini
You will find this file in:
C:\Program Files (x86)\TSplus\UserDesktop\files\
So, your application can create, modify or remove a Web Credential.
It can also, after user logon, use the %SessionName% environment variable to read thi .ini file and to know what web credential the user has typed to open his session.

Kind regards

John Davies

Re: Manage web credentials outside of TSPlus Admin Tool

Posted: Tue Dec 08, 2015 8:40 am
by qsrx
johndavies wrote: It can also, after user logon, use the %SessionName% environment variable to read the .ini file and to know what web credential the user has typed to open his session.
Thank you.

Could you provide me with more details about the content of %SessionName% environment variable.
If I see SESSIONNAME=RDP-Tcp#7, how can I get the Web login?

Re: Manage web credentials outside of TSPlus Admin Tool

Posted: Sun Aug 28, 2016 11:49 am
by modiran
Hi
I cant find WebCredentials.ini
but there is some file named WebCredentials.bin
how I can read this file ?

tanks for answering

Re: Manage web credentials outside of TSPlus Admin Tool

Posted: Wed Aug 31, 2016 8:48 am
by admin
Hello,

WebCredentials.ini is located in C:\Program Files (x86)\TSplus\UserDesktop\files

Re: Manage web credentials outside of TSPlus Admin Tool

Posted: Sat Apr 08, 2017 4:48 pm
by IvanGB
Hi.

I am also trying to find the file webcredentials.ini in order to be able to create an option for the user to change his own credential, but can't find the file in the folder where you guys directed us.

By the way, it would be a nice feature for TSplus to have on the TaskBar/FloatingPanel an option for the user to do it, so we wouldn't have to program it.

Anyway, for the time being, knowing where this webcredentials.ini is, could help us to get started.

Thanks in advance.

Ivan

Re: Manage web credentials outside of TSPlus Admin Tool

Posted: Mon Apr 10, 2017 7:52 am
by AadGouka
Hi,

The Webcredentials.ini is a hidden file. You can find it in \TSPlus\UserDesktop\Files.

HTH.

Best regards,

Aad

Re: Manage web credentials outside of TSPlus Admin Tool

Posted: Mon Apr 10, 2017 12:47 pm
by IvanGB
Hi Aad.

Thank you for the reply.
There must be something odd with my environment then, as you can check my folder bellow, which is set to show hidden files, however, there is no WebCredentials.INI in it. Do you see this file in yours?!

Thank you.

Ivan
C:\Program Files (x86)\TSplus\UserDesktop\files
C:\Program Files (x86)\TSplus\UserDesktop\files

Re: Manage web credentials outside of TSPlus Admin Tool

Posted: Mon Apr 10, 2017 12:50 pm
by IvanGB
Sorry!

Found it.
I had to uncheck "Hide protected operating system files" too.

Thank you.

Ivan

Re: Manage web credentials outside of TSPlus Admin Tool

Posted: Fri Nov 08, 2019 2:19 am
by asawyer13
I can't seem to overwrite the webcredentials.ini file.

I think I changed the permissions but I must be doing something wrong.

Do I need to stop the tsplus service or something first??

I am reading my database and need to overwrite the file each night. I would prefer not to have to stop the service if possible.

Thanks
Alan