最新消息:ww12345678 的部落格重装上线,希望大家继续支持。

Dynamics AX 2012中的runas方法 / runas method in Dynamics AX 2012

网络文摘 William 38浏览 0评论
Yes we can use RunAs with in Dynamics ax code also, sometime we need to run specific operation under different user account, for that purpose we can use RunAs to execute particular method or operation based on that new user. Syntax to use the RunAs Runas(UserAccountId, ClassId, StaticMethod, methodName, ContainerParms) Calling method: If you see this implementation, we must need to have the runAs method having parameter of type container. So before calling this method we need to add all needed inputs to the container and pass the container as arguments. In this example we are generating outbound file using Runas method under different account. 
发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址