<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.imap.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'function.imap-getacl.php',
    1 => 'imap_getacl',
    2 => 'Liefert die Liste der Zugriffsrechte (ACL) f&uuml;r ein Postfach',
  ),
  'up' => 
  array (
    0 => 'ref.imap.php',
    1 => 'IMAP Funktionen',
  ),
  'prev' => 
  array (
    0 => 'function.imap-get-quotaroot.php',
    1 => 'imap_get_quotaroot',
  ),
  'next' => 
  array (
    0 => 'function.imap-getmailboxes.php',
    1 => 'imap_getmailboxes',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'de',
    'path' => 'reference/imap/functions/imap-getacl.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.imap-getacl" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">imap_getacl</h1>
  <p class="verinfo">(PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">imap_getacl</span> &mdash; <span class="dc-title">Liefert die Liste der Zugriffsrechte (ACL) für ein Postfach</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.imap-getacl-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>imap_getacl</strong></span>(<span class="methodparam"><span class="type"><a href="class.imap-connection.php" class="type IMAP\Connection">IMAP\Connection</a></span> <code class="parameter">$imap</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$mailbox</code></span>): <span class="type"><span class="type"><a href="language.types.array.php" class="type array">array</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="para rdfs-comment">
   Gibt die Zugriffsrechte (ACL, Access Control List) für ein gegebenes
   Postfach zurück.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.imap-getacl-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <p class="para">
   <dl>
    <dt>
<code class="parameter">imap</code></dt><dd><p class="para">Eine <span class="classname"><a href="class.imap-connection.php" class="classname">IMAP\Connection</a></span>-Instanz.</p></dd>
    
     <dt><code class="parameter">mailbox</code></dt>
     <dd>
      <p class="para">
       Der Name des Postfachs, siehe <span class="function"><a href="function.imap-open.php" class="function">imap_open()</a></span> für
       weitere Informationen
      </p>
      <div class="warning"><strong class="warning">Warnung</strong><p class="simpara">
Die Übergabe von nicht vertrauenswürdigen Daten an diesen Parameter ist <em>unsicher</em>,falls
<a href="imap.configuration.php#ini.imap.enable-insecure-rsh" class="link">imap.enable_insecure_rsh</a> nicht deaktiviert ist.
</p></div>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.imap-getacl-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="para">
   Gibt ein Array mit Postfachnamen als Schlüssel und Zugriffsrecht-Listen als
   Wert zurück. Bei einem Fehler wird <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> zurückgegeben.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.imap-getacl-changelog">
  <h3 class="title">Changelog</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Version</th>
      <th>Beschreibung</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
 <td>8.1.0</td>
 <td>
  Der Parameter <code class="parameter">imap</code> erwartet nun eine
  <span class="classname"><a href="class.imap-connection.php" class="classname">IMAP\Connection</a></span>-Instanz; vorher wurde eine gültige
  <code class="literal">imap</code>-<a href="language.types.resource.php" class="link">Ressource</a> erwartet.
 </td>
</tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 examples" id="refsect1-function.imap-getacl-examples">
  <h3 class="title">Beispiele</h3>
  <p class="para">
   <div class="example" id="example-1">
    <p><strong>Beispiel #1 <span class="function"><strong>imap_getacl()</strong></span>-Beispiel</strong></p>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br /><br />print_r</span><span style="color: #007700">(</span><span style="color: #0000BB">imap_getacl</span><span style="color: #007700">(</span><span style="color: #0000BB">$imap</span><span style="color: #007700">, </span><span style="color: #DD0000">'user.joecool'</span><span style="color: #007700">));<br /><br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
    </div>

    <div class="example-contents"><p>Das oben gezeigte Beispiel erzeugt
eine ähnliche Ausgabe wie:</p></div>
    <div class="example-contents screen">
<div class="examplescode"><pre class="examplescode">Array
(
    [asubfolder] =&gt; lrswipcda
    [anothersubfolder] =&gt; lrswipcda
)</pre>
</div>
    </div>
   </div>
  </p>
 </div>


 <div class="refsect1 notes" id="refsect1-function.imap-getacl-notes">
  <h3 class="title">Anmerkungen</h3>
  <p class="para">
   Diese Funktion ist aktuell erst ab der Bibliotheksversion c-client2000
   verfügbar.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.imap-getacl-seealso">
  <h3 class="title">Siehe auch</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.imap-setacl.php" class="function" rel="rdfs-seeAlso">imap_setacl()</a> - Legt die ACL (Zugriffsrechte) f&uuml;r ein Postfach fest</span></li>
   </ul>
  </p>
 </div>


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