Files
php-doc-ru/reference/imap/functions/imap-setacl.xml
Andrey Gromov b08d6c5692 upd
git-svn-id: https://svn.php.net/repository/phpdoc/ru/trunk@346035 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-23 10:17:11 +00:00

101 lines
3.0 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: ca35bb0ee60fdbf44956427c44c4eee7b1ea0fdb Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<refentry xml:id='function.imap-setacl' xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>imap_setacl</refname>
<refpurpose>Установка ACL для заданного почтового ящика</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>imap_setacl</methodname>
<methodparam><type>resource</type><parameter>imap_stream</parameter></methodparam>
<methodparam><type>string</type><parameter>mailbox</parameter></methodparam>
<methodparam><type>string</type><parameter>id</parameter></methodparam>
<methodparam><type>string</type><parameter>rights</parameter></methodparam>
</methodsynopsis>
<para>
Устанавливает ACL для заданного почтового ящика.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
&imap.imap-stream.description;
<varlistentry>
<term><parameter>mailbox</parameter></term>
<listitem>
<para>
Имя почтового ящика, более подробно смотрите в описании
<function>imap_open</function>
</para>
&imap.mailboxname.insecure;
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>id</parameter></term>
<listitem>
<para>
Идентификатор пользователя, которому выдаются права.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>rights</parameter></term>
<listitem>
<para>
Права для выдачи. Передача пустой строки означает удаление всех прав.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.success;
</para>
</refsect1>
<refsect1 role="notes">
&reftitle.notes;
<para>
В данный момент эта функция поддерживается только при использовании
библиотеки c-client2000 или более новой версии.
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>imap_getacl</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->