Manage web credentials outside of TSPlus Admin Tool

General conversation about our product. Get help with your 'How To' questions.
qsrx
Posts: 4
Joined: Mon Dec 07, 2015 5:25 pm

Manage web credentials outside of TSPlus Admin Tool

Post by qsrx » Mon Dec 07, 2015 6:38 pm

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.
Last edited by qsrx on Tue Dec 08, 2015 8:11 am, edited 1 time in total.

johndavies
Posts: 58
Joined: Sun Jan 13, 2013 2:20 pm

Re: Manage web credentials outside of TSPlus Admin Tool

Post by johndavies » Mon Dec 07, 2015 10:52 pm

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

qsrx
Posts: 4
Joined: Mon Dec 07, 2015 5:25 pm

Re: Manage web credentials outside of TSPlus Admin Tool

Post by qsrx » Tue Dec 08, 2015 8:40 am

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?

modiran
Posts: 1
Joined: Sun Aug 28, 2016 11:44 am

Re: Manage web credentials outside of TSPlus Admin Tool

Post by modiran » Sun Aug 28, 2016 11:49 am

Hi
I cant find WebCredentials.ini
but there is some file named WebCredentials.bin
how I can read this file ?

tanks for answering

User avatar
admin
Site Admin
Posts: 1621
Joined: Wed Sep 05, 2012 6:38 am

Re: Manage web credentials outside of TSPlus Admin Tool

Post by admin » Wed Aug 31, 2016 8:48 am

Hello,

WebCredentials.ini is located in C:\Program Files (x86)\TSplus\UserDesktop\files
Olivier
TSplus support team administrator
Image

IvanGB
Posts: 86
Joined: Sat Feb 06, 2016 2:26 pm

Re: Manage web credentials outside of TSPlus Admin Tool

Post by IvanGB » Sat Apr 08, 2017 4:48 pm

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
Last edited by IvanGB on Mon Apr 10, 2017 12:50 pm, edited 1 time in total.

AadGouka
Posts: 72
Joined: Thu Feb 05, 2015 1:48 pm

Re: Manage web credentials outside of TSPlus Admin Tool

Post by AadGouka » Mon Apr 10, 2017 7:52 am

Hi,

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

HTH.

Best regards,

Aad

IvanGB
Posts: 86
Joined: Sat Feb 06, 2016 2:26 pm

Re: Manage web credentials outside of TSPlus Admin Tool

Post by IvanGB » Mon Apr 10, 2017 12:47 pm

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

IvanGB
Posts: 86
Joined: Sat Feb 06, 2016 2:26 pm

Re: Manage web credentials outside of TSPlus Admin Tool

Post by IvanGB » Mon Apr 10, 2017 12:50 pm

Sorry!

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

Thank you.

Ivan

asawyer13
Posts: 6
Joined: Thu Sep 12, 2019 11:52 am

Re: Manage web credentials outside of TSPlus Admin Tool

Post by asawyer13 » Fri Nov 08, 2019 2:19 am

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

Post Reply