downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

imap_getmailboxes> <imap_get_quotaroot
Last updated: Fri, 20 May 2011

view this page in

imap_getacl

(PHP 5)

imap_getaclObtiene el ACL para un buzón dado

Descripción

array imap_getacl ( resource $imap_stream , string $mailbox )

GObtiene el ACL para un buzón dado.

Parámetros

imap_stream

IMAP stream devuelto por imap_open().

mailbox

El nombre del buzón, veáse imap_open() para más información

Valores devueltos

Devuelve un array asociativo de pares "folder" => "acl" pairs.

Ejemplos

Example #1 Ejemplo de imap_getacl()

<?php

print_r
(imap_getacl($conn_id'user.joecool'));

?>

El resultado del ejemplo sería algo similar a:

Array
(
    [asubfolder] => lrswipcda
    [anothersubfolder] => lrswipcda
)

Notas

Esta función sólo está disponible para usuarios de la biblioteca c-client2000 o superior.

Ver también



add a note add a note User Contributed Notes imap_getacl
info at obengelb dot de 13-Sep-2006 11:58
stream_id is the stream returned from imap_open

mailbox is a mailbox name (without server name)

Example:
print_r(imap_getacl ($strea_id, 'user.joecool'));

Array
(
    [asubfolder] => lrswipcda
    [anothersubfolder] => lrswipcda
)

 
show source | credits | stats | sitemap | contact | advertising | mirror sites