# C1.DataConnector.AdoNet.C1OAuthConnectionStringBuilder.OAuthClientId

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_DataConnector_AdoNet_C1OAuthConnectionStringBuilder_OAuthClientId_" data-uid="C1.DataConnector.AdoNet.C1OAuthConnectionStringBuilder.OAuthClientId*">OAuthClientId Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_DataConnector_AdoNet_C1OAuthConnectionStringBuilder_OAuthClientId_" data-uid="C1.DataConnector.AdoNet.C1OAuthConnectionStringBuilder.OAuthClientId*"></a>
<h4 id="C1_DataConnector_AdoNet_C1OAuthConnectionStringBuilder_OAuthClientId" data-uid="C1.DataConnector.AdoNet.C1OAuthConnectionStringBuilder.OAuthClientId">OAuthClientId</h4>
<div class="markdown level1 summary"><p>The id of the OAuth 2.0 Client to be used for the authentication.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Hierarchy(new string[] { &quot;AuthenticationType=OAuth2Authentication&amp;OauthGrantType=ClientCredential&quot;, &quot;AuthenticationType=OAuth2Authentication&amp;OauthGrantType=PasswordCredential&quot; })]
public string OAuthClientId { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Hierarchy(New String() { &quot;AuthenticationType=OAuth2Authentication&amp;OauthGrantType=ClientCredential&quot;, &quot;AuthenticationType=OAuth2Authentication&amp;OauthGrantType=PasswordCredential&quot; })&gt;
Public Property OAuthClientId As String</code></pre>
</div>
</div>
