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

search for in the

imap_getmailboxes> <imap_get_quotaroot
[edit] Last updated: Fri, 24 May 2013

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

Ejemplo #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 - [1 notes]
up
0
info at obengelb dot de
6 years ago
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