MSDN > フォーラム ホーム > SharePoint - Workflow > Setting Initiator In Comments
質問する質問する
 

質問Setting Initiator In Comments

  • 2009年7月2日 14: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日 14:45re-phrased
    •  

すべての返信

  • 2009年7月2日 21: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.