Microsoft Developer Network > 포럼 홈 > SharePoint - Workflow > Setting Initiator In Comments
질문하기질문하기
 

질문Setting Initiator In Comments

  • 2009년 7월 2일 목요일 오후 2:44wexford 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    How do I set the initiator in the comments of a custom workflow (built in VS 2008)?

    I can set other items with the Executor property but the Initiation of the workflow is always set to "System".
    • 편집됨wexford 2009년 7월 2일 목요일 오후 2:45re-phrased
    •  

모든 응답

  • 2009년 7월 2일 목요일 오후 9:19David Mann [MVP]MVP, 중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    VS Wfs always run as SYSTEM.  You can do impersonation or RunWithElevatedPrivileges in code if you need to.
  • 2009년 7월 6일 월요일 오전 9:39wexford 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    David thank you for replying.

    Do you have an example?

    In other parts of the workflow I can set the User ID in the Workflow history (e.g. updating an assigned Task) to be a user name other than System but for the Initiation of the workflow there seems to be no way to set the User ID.