Book a Demo

Author Topic: How suppres login Dialog  (Read 3193 times)

Francisco Mtz

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
How suppres login Dialog
« on: November 11, 2010, 03:08:54 am »
I coneect EA interface, but i am doing in web application,  when i open a file and the user and/or password are incorrect, open a login dialog..

I use this properties, to try don't open login dialog.
Repository repository = new RepositoryClass();
repository.SuppressSecurityDialog = true;
repository.SuppressEADialogs = true;
bool result=repository.OpenFile2(connexionstring, user, password);

the previous code not works, exists some option say not open login dialog.. only send me exception or return false value?..

It's work perfect when user and password are correct and when user accept window authentication..

Thanks alot...