Command line options with WebService and user login

For complex topics that regular users would not be interested in. For power users and database administrators.
Post Reply
SpeedGP
Posts: 26
Joined: Wed Jun 15, 2011 7:37 am

Command line options with WebService and user login

Post by SpeedGP » Thu Aug 29, 2013 1:32 pm

When using command line options for webservice it drops you into the webservice "select database" screen unless you enter a username and odpassword. Is there a way to get straight to the select user and enter password window and skip the "select database" window without logging in as a specific user?

Ex. Open desktop icon with predetermined command line options embedded > opens directly to select username and enter password window

We currently have it configured to open directly into a schedule view and then you must click "Logout" and then log back in with the users credentials.


Thanks

User avatar
jsalmon
Posts: 1551
Joined: Tue Nov 30, 2010 12:33 pm
Contact:

Re: Command line options with WebService and user login

Post by jsalmon » Thu Aug 29, 2013 2:38 pm

SpeedGP wrote:When using command line options for webservice it drops you into the webservice "select database" screen unless you enter a username and odpassword. Is there a way to get straight to the select user and enter password window and skip the "select database" window without logging in as a specific user?
Yes. The list of all available command line arguments are here: http://opendental.com/manual/commandline.html

E.g. UserName=[user] OdPassword=[password] WebServiceUri=[URI to ServiceMain.asmx]
SpeedGP wrote:We currently have it configured to open directly into a schedule view and then you must click "Logout" and then log back in with the users credentials.
You lost me here... I just assumed you were saying you currently have it configured locally (not using the middle tier) which auto logs a user in and then they are supposed to log out and log back in as the correct user. In which case my above suggestion will be the answer for the middle tier.
The best thing about a boolean is even if you are wrong, you are only off by a bit.

Jason Salmon
Open Dental Software
http://www.opendental.com

SpeedGP
Posts: 26
Joined: Wed Jun 15, 2011 7:37 am

Re: Command line options with WebService and user login

Post by SpeedGP » Thu Aug 29, 2013 3:44 pm

The way we had it before was (without middle tier)
1. click open dental icon (predefined shortcut with command line options defined to skip choose database)
2. select username from the list
3 enter password

The way we have it now (with middle teier)
1. click open dental icon (predefined shortcut with command line options defined to log in directly to schedule view account)
2. auto-login with Schedule view account
3. logout and log back in as yourself


We were hoping there was a way with the middle tier that allowed for similar to before, where it goes straight to the user list. I am aware we could eliminate the "Username" and "ODPassword" option and have it go to the choose database screen, but then you have to type in the username and password for whoever wants to log in, for some users, ie the doctor, kind of annoying "Dr. So-and-So MPH, DDS"

Make more sense now?

User avatar
jsalmon
Posts: 1551
Joined: Tue Nov 30, 2010 12:33 pm
Contact:

Re: Command line options with WebService and user login

Post by jsalmon » Thu Aug 29, 2013 8:56 pm

Yes, and there currently isn't a way to do that. The reasoning being, you need credentials to talk to the database in the first place and we designed the middle tier with the assumption that the credentials typed in will be the credentials of the actual user who is going to be using Open Dental. We didn't want to annoy users by having them type in their credentials twice (sometimes).

On the plus side, this would be an extremely easy feature request to implement. On the down side, not very many users use the middle tier because (until recently) VPN's have surpassed it in speed.
The best thing about a boolean is even if you are wrong, you are only off by a bit.

Jason Salmon
Open Dental Software
http://www.opendental.com

Post Reply