<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.ldap.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'function.ldap-exop-sync.php',
    1 => 'ldap_exop_sync',
    2 => 'Performs an extended operation',
  ),
  'up' => 
  array (
    0 => 'ref.ldap.php',
    1 => 'LDAP Funktionen',
  ),
  'prev' => 
  array (
    0 => 'function.ldap-exop-refresh.php',
    1 => 'ldap_exop_refresh',
  ),
  'next' => 
  array (
    0 => 'function.ldap-exop-whoami.php',
    1 => 'ldap_exop_whoami',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/ldap/functions/ldap-exop-sync.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.ldap-exop-sync" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ldap_exop_sync</h1>
  <p class="verinfo">(PHP 8 &gt;= 8.3.0)</p><p class="refpurpose"><span class="refname">ldap_exop_sync</span> &mdash; <span class="dc-title">Performs an extended operation</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.ldap-exop-sync-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">function</span> <span class="methodname"><strong>ldap_exop_sync</strong></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="class.ldap-connection.php" class="type LDAP\Connection">LDAP\Connection</a></span> <code class="parameter">$ldap</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$request_oid</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.string.php" class="type string">string</a></span></span> <code class="parameter">$request_data</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.array.php" class="type array">array</a></span></span> <code class="parameter">$controls</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter reference">&$response_data</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter reference">&$response_oid</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span><br>): <span class="type"><span class="type"><a href="class.ldap-result.php" class="type LDAP\Result">LDAP\Result</a></span>|<span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></span></div>

  <p class="simpara">
   Performs an extended operation on the specified <code class="parameter">ldap</code> with
   <code class="parameter">request_oid</code> the <abbr>OID</abbr> of the operation and
   <code class="parameter">request_data</code> the data.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.ldap-exop-sync-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <dl>
   
    <dt><code class="parameter">ldap</code></dt>
    <dd>
     <span class="simpara">
      Eine <span class="classname"><a href="class.ldap-connection.php" class="classname">LDAP\Connection</a></span>Instanz, die von  <span class="function"><a href="function.ldap-connect.php" class="function">ldap_connect()</a></span> zurückgegeben wurde.
     </span>
    </dd>
   
   
    <dt><code class="parameter">request_oid</code></dt>
    <dd>
     <span class="simpara">
      The extended operation request <abbr>OID</abbr>.
      Can be one of the
      <strong><code><a href="ldap.constants.php#constant.ldap-exop-start-tls">LDAP_EXOP_<span class="replaceable">*</span></a></code></strong>
      constants,
      or a string with the <abbr>OID</abbr> of the operation.
     </span>
    </dd>
   
   
    <dt><code class="parameter">request_data</code></dt>
    <dd>
     <span class="simpara">
      The extended operation request data.
      May be <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> for some operations like <strong><code><a href="ldap.constants.php#constant.ldap-exop-who-am-i">LDAP_EXOP_WHO_AM_I</a></code></strong>,
      may also need to be <abbr>BER</abbr> encoded.
     </span>
    </dd>
   
   
    <dt><code class="parameter">controls</code></dt>
    <dd>
     <span class="simpara">
      Array of <a href="ldap.controls.php" class="link">LDAP Controls</a> to send with the request.
     </span>
    </dd>
   
   
    <dt><code class="parameter">response_data</code></dt>
    <dd>
     <span class="simpara">
      Will be filled with the extended operation response data if provided.
      If not provided <span class="function"><a href="function.ldap-parse-exop.php" class="function">ldap_parse_exop()</a></span> may be used on the
      result object later to get this data.
     </span>
    </dd>
   
   
    <dt><code class="parameter">response_oid</code></dt>
    <dd>
     <span class="simpara">
      Will be filled with the response <abbr>OID</abbr> if provided,
      usually equal to the request <abbr>OID</abbr>.
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.ldap-exop-sync-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="simpara">
   When used with <code class="parameter">response_data</code>,
   returns <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> on success or <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> on error.
   When used without <code class="parameter">response_data</code>,
   returns a result identifier or <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> on error.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.ldap-exop-sync-seealso">
  <h3 class="title">Siehe auch</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.ldap-exop.php" class="function" rel="rdfs-seeAlso">ldap_exop()</a> - Performs an extended operation</span></li>
   <li><span class="function"><a href="function.ldap-exop-whoami.php" class="function" rel="rdfs-seeAlso">ldap_exop_whoami()</a> - WHOAMI extended operation helper</span></li>
   <li><span class="function"><a href="function.ldap-exop-refresh.php" class="function" rel="rdfs-seeAlso">ldap_exop_refresh()</a> - Refresh extended operation helper</span></li>
   <li><span class="function"><a href="function.ldap-exop-passwd.php" class="function" rel="rdfs-seeAlso">ldap_exop_passwd()</a> - PASSWD extended operation helper</span></li>
   <li><span class="function"><a href="function.ldap-parse-result.php" class="function" rel="rdfs-seeAlso">ldap_parse_result()</a> - Extrahiert Informationen aus einem Ergebnis</span></li>
   <li><span class="function"><a href="function.ldap-parse-exop.php" class="function" rel="rdfs-seeAlso">ldap_parse_exop()</a> - Parse result object from an LDAP extended operation</span></li>
  </ul>
 </div>


</div><?php manual_footer($setup); ?>