Book a Demo

Author Topic: Disable security by Automation  (Read 2864 times)

crumble

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Disable security by Automation
« on: April 30, 2019, 03:22:07 pm »
Hello, I'm looking for the best way to disable the security by automation. In 2015 there was a thread created about this topic: https://www.sparxsystems.com/forums/smf/index.php/topic,5722.0.html. But the solution was not really given. The idea of this thread was to use the undocumented Execute() function of Repository class. I tried and it works, but it is not an acceptable solution as it uses a method that is not officially released and it manipulates the database.
Our company is looking for a better solution.
Does newer EA version (14) automation interface supports this feature?
Do you know any other feasible way using automation to disable the Security?

Why do we want to disable it? Because the locally transfered EAP file from DBMS shall be made accessible. With authentication by Windows account enabled, it is not possible to open the project.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Disable security by Automation
« Reply #1 on: April 30, 2019, 04:16:31 pm »
Currently there is no other solution.
Just go with it. I try to avoid it as much as possible, but you only get so far using the documented API methods.
At one point or another you'll have to resort to using Repository.Execute.
Just make sure there really isn't an alternative if you decide to use it.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Disable security by Automation
« Reply #2 on: April 30, 2019, 06:10:53 pm »
I don't have any idea about Sparx' cloud solution, but you might have a look into that.

q.