<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >ldap_rename</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="Manual PHP" HREF="index.html"><LINK REL="UP" TITLE="LDAP Functions" HREF="ref.ldap.html"><LINK REL="PREVIOUS" TITLE="ldap_read" HREF="function.ldap-read.html"><LINK REL="NEXT" TITLE="ldap_sasl_bind" HREF="function.ldap-sasl-bind.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >Manual PHP</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.ldap-read.html" ACCESSKEY="P" >Înapoi</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.ldap-sasl-bind.html" ACCESSKEY="N" >Înainte</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.ldap-rename" ></A >ldap_rename</H1 ><DIV CLASS="refnamediv" ><A NAME="AEN49055" ></A ><P > (PHP 4 >= 4.0.5, PHP 5)</P >ldap_rename -- Modify the name of an entry</DIV ><DIV CLASS="refsect1" ><A NAME="AEN49058" ></A ><H2 >Description</H2 >bool <B CLASS="methodname" >ldap_rename</B > ( resource link_identifier, string dn, string newrdn, string newparent, bool deleteoldrdn)<BR ></BR ><P > The entry specified by <VAR CLASS="parameter" >dn</VAR > is renamed/moved. The new RDN is specified by <VAR CLASS="parameter" >newrdn</VAR > and the new parent/superior entry is specified by <VAR CLASS="parameter" >newparent</VAR >. If the parameter <VAR CLASS="parameter" >deleteoldrdn</VAR > is <TT CLASS="constant" ><B >TRUE</B ></TT > the old RDN value(s) is removed, else the old RDN value(s) is retained as non-distinguished values of the entry. Returneazã <TT CLASS="constant" ><B >TRUE</B ></TT > în caz de succes, <TT CLASS="constant" ><B >FALSE</B ></TT > în caz contrar. </P ><DIV CLASS="note" ><BLOCKQUOTE CLASS="note" ><P ><B >Notã: </B >This function currently only works with LDAPv3. You may have to use <A HREF="function.ldap-set-option.html" ><B CLASS="function" >ldap_set_option()</B ></A > prior to binding to use LDAPv3. This function is only available when using OpenLDAP 2.x.x OR Netscape Directory SDK x.x, and was added in PHP 4.0.5. </P ></BLOCKQUOTE ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.ldap-read.html" ACCESSKEY="P" >Înapoi</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Acasã</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.ldap-sasl-bind.html" ACCESSKEY="N" >Înainte</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >ldap_read</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.ldap.html" ACCESSKEY="U" >Sus</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >ldap_sasl_bind</TD ></TR ></TABLE ></DIV ></BODY ></HTML >