Book a Demo

Author Topic: How to supress the Login Prompt through AI?  (Read 4842 times)

zack2

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
How to supress the Login Prompt through AI?
« on: April 22, 2005, 01:10:28 pm »
I have written a program to regenerate the HTML documentation of our model. This program is to be run as a standalone cron job every night. It works, except that a login prompt appears as I open the repository, preventing the cron job from continuing.

Is there any way to supress this pop-up? Our model has security to keep the normal users in line. We are using MySQL as the repository.

Thanks in advance.

Jeff Odell

  • EA User
  • **
  • Posts: 99
  • Karma: +0/-0
    • View Profile
Re: How to supress the Login Prompt through AI?
« Reply #1 on: April 24, 2005, 05:58:33 am »
There are 2 overloads to the OpenFile command on the Repository object.  One is OpenFile; it just takes the name of the file.  The other is OpenFile2, which in addition takes the user name and password.  Have you tried the latter?

HTH - jlo