cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to have auto login on SAP SBO?

Former Member
0 Kudos

Hi all,

I have a situation where the SAP SBO would have to be able to log in by itself after the workstation reboots.

Is it possible to do that? It doesn't really matter to us under which account it should log in and how.

Thanks for all hints!

Andre

ps: I have posted this same question on SAP SBO section in this forum, but was suggested to post it in here. Hope I have a better luck

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Andre,

The only thing I can think of is to use the UI to automatically log on to the database - basically, have it do exactly what would happen if the user opened Business One and clicked "OK" instead of "Choose Company" on the Login screen. (i.e. if using default manager password it will log in without asking for a password)

You can use the UI API to simulate a click on a button and therefore have it automatically click "OK" when it sees the login screen..

For example "oItem.Click" activates a click on the specified item.

There are alot of resources between posts here and the SDK help file that might also be useful in implementing this.

Hope its useful

Regards,

Niall

SAP Business One Forums

Former Member
0 Kudos

I'm not quite sure with UI, it would take a lot of reading and learning for me. I have found another solution, though. I'm using a script called autohotkey. It's a script to manipulate inputs from keyboard and mouse. It only took me one hour to learn and get it done and running.

Thanks anyway for your hints. When I had a little time, sure I would take a look at UI.

Andre

Answers (0)