What user permissions are used by SSIS during execution of packages?

怎甘沉沦 提交于 2019-12-12 03:57:24

问题


SSIS pacckages contains a script, that checks, whether directory exists. Directory.Exists() method returns false, but I have an access for the folder as Administrator. How could I determine, what user permissions are used during SSIS packages execution.


回答1:


It depends how you are running it. From BIDS, it's the user running it, from SQL Agent it's generally the SQL Agent account. From a stored procedure it's generally the SQL Server account.

To find out for sure, monitor the DTEXEC process using ProcMon




回答2:


In addition to the comments from @ElectricLlama, you can also execute a SSIS package in the context of a different set of credentials via a proxy account.



来源:https://stackoverflow.com/questions/15822746/what-user-permissions-are-used-by-ssis-during-execution-of-packages

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!