Book a Demo

Author Topic: OpenFile and Impersonation  (Read 3062 times)

RajuJoseph

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
OpenFile and Impersonation
« on: October 23, 2015, 03:30:31 pm »
I am trying to automate few repetitive tasks in EA. We have a shared repository maintained in SQL Server. We connect to the repository using a different set of credentials (different from my normal account).

I have written script to impersonate the account and it is working. The issue is, when I invoke the command new EA.Repository(), it seems the EA instance (which I can see in my taskbar) is launched and running under my normal account. It is not running under the impersonated account.

I can connect to the model repository (SQL Server) using the impersonated account without any issues.

Is there anyway I can run new EA.Repository() under another an impersonated account?
« Last Edit: October 23, 2015, 03:45:44 pm by rajuaviyil »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: OpenFile and Impersonation
« Reply #1 on: October 23, 2015, 07:55:03 pm »
Simple answer: no. The guys from LieberLieber seem to have something for sale that supports this. Just hear-and-say so I have no details.

q.