Skip to main content
Question

Running an FME Server job as a specific user

  • August 26, 2013
  • 5 replies
  • 118 views

nic_ran
Contributor
Forum|alt.badge.img+16
I need to force an FME Server job to run under a specific Windows user account.

 

 

I have Active Directory authentication turned on for FME Server and I have granted permission to the user account (via a role) to the job that I need to run.

 

 

I need a way of forcing the job to run under a specific account, no matter who is logged in and running the actual job. The reason I need to force to run under a specific account is that the job needs access to data in a network drive location that only that user account can see.

 

 

I know that I can set FME Server up to use a default account at the Service level (e.g. Job Submitter, Data Download, etc.) but I need to be able to do this for just a specific job.

 

 

Is this possible?

 

 

Nic

5 replies

nic_ran
Contributor
Forum|alt.badge.img+16
  • Author
  • Contributor
  • August 26, 2013
Bonus points for telling me how this might be possible for a scheduled job....

  • August 27, 2013
Hi Nic,

 

You can use the sysinternal utility "ShellRunas" for starting anything in windows with a different user account.

 

 

Marc

nic_ran
Contributor
Forum|alt.badge.img+16
  • Author
  • Contributor
  • August 27, 2013
Thanks. I was hoping to run the job on FME Server but maybe I can take a modified version of your suggestion and have a batch script call Runas to run an FME Desktop instance. Not ideal but it should work.

 

Nic

helmoet
Forum|alt.badge.img+8
  • July 4, 2017

Hi @nic_ran, you can create a separate workspace using a workspacerunner to schedule your job. Publish the user authentication parameters for the workspacerunning and publish it to FME Server.


helmoet
Forum|alt.badge.img+8
  • July 4, 2017
helmoet wrote:

Hi @nic_ran, you can create a separate workspace using a workspacerunner to schedule your job. Publish the user authentication parameters for the workspacerunning and publish it to FME Server.

 

Sorry, FMEServerJobSubmitter. Also works for schedules.

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings