Hey Terry,
What you are wanting to do is possible with the following method:
- You can automatically log the user in by setting the Engine.CurrentUser equal to some user (by using Engine.GetUser(string user name)).
- Configure two properties for the Application Manager: LoginOnStart = false, ProcessCommandLine = true.
- After the application manager start method, add a call to ApplicationManager.Login().
- In the FrontEndCallbacks sequence, add a condition for the Login step that checks if Engine.CurrentUser == Nothing. That is, if a user is already logged in, do not prompt the user with a dialog.
These settings combined with the property ApplicationManager.CommandLineArguments (providing you with the user name and password to use) should yield you a solution.
Thanks,
Andy McRorie
NI R&D