Hi,
Is there a way to set SQL job step 'Run As' option? Thanks.
Chris
Could you please elaborate on what exactly is your end goal?
The sprocs sp_update_jobstep and sp_add_jobstep have this parameter. Would that be helpful?[ @database_user_name = ] 'user'
The name of the user account to use when executing a Transact-SQL step. useris sysname, with a default of NULL.
See more sp_update_jobstep (Transact-SQL) - SQL Server | Microsoft Docs
17 People are following this question.