# C1.ImportServices.ReportExecution4.ReportExecutionServiceSoapClient.SetExecutionCredentials2

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_ImportServices_ReportExecution4_ReportExecutionServiceSoapClient_SetExecutionCredentials2_" data-uid="C1.ImportServices.ReportExecution4.ReportExecutionServiceSoapClient.SetExecutionCredentials2*">SetExecutionCredentials2 Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_ImportServices_ReportExecution4_ReportExecutionServiceSoapClient_SetExecutionCredentials2_" data-uid="C1.ImportServices.ReportExecution4.ReportExecutionServiceSoapClient.SetExecutionCredentials2*"></a>
<h4 id="C1_ImportServices_ReportExecution4_ReportExecutionServiceSoapClient_SetExecutionCredentials2_C1_ImportServices_ReportExecution4_ExecutionHeader_C1_ImportServices_ReportExecution4_TrustedUserHeader_C1_ImportServices_ReportExecution4_DataSourceCredentials___C1_ImportServices_ReportExecution4_ExecutionInfo2__" data-uid="C1.ImportServices.ReportExecution4.ReportExecutionServiceSoapClient.SetExecutionCredentials2(C1.ImportServices.ReportExecution4.ExecutionHeader,C1.ImportServices.ReportExecution4.TrustedUserHeader,C1.ImportServices.ReportExecution4.DataSourceCredentials[],C1.ImportServices.ReportExecution4.ExecutionInfo2@)">SetExecutionCredentials2(ExecutionHeader, TrustedUserHeader, DataSourceCredentials[], out ExecutionInfo2)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ServerInfoHeader SetExecutionCredentials2(ExecutionHeader ExecutionHeader, TrustedUserHeader TrustedUserHeader, DataSourceCredentials[] Credentials, out ExecutionInfo2 executionInfo)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SetExecutionCredentials2(ExecutionHeader As ExecutionHeader, TrustedUserHeader As TrustedUserHeader, Credentials As DataSourceCredentials(), ByRef executionInfo As ExecutionInfo2) As ServerInfoHeader</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.ImportServices.ReportExecution4.ExecutionHeader.html">ExecutionHeader</a></td>
      <td><span class="parametername">ExecutionHeader</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.ImportServices.ReportExecution4.TrustedUserHeader.html">TrustedUserHeader</a></td>
      <td><span class="parametername">TrustedUserHeader</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.ImportServices.ReportExecution4.DataSourceCredentials.html">DataSourceCredentials</a>[]</td>
      <td><span class="parametername">Credentials</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.ImportServices.ReportExecution4.ExecutionInfo2.html">ExecutionInfo2</a></td>
      <td><span class="parametername">executionInfo</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.ImportServices.ReportExecution4.ServerInfoHeader.html">ServerInfoHeader</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
