API15

API15:JLDAP/rename

From Joomla! Documentation

Description

Rename the entry

[<! removed edit link to red link >]

<! removed transcluded page call, red link never existed >

Syntax

rename($dn, $newdn, $newparent, $deleteolddn)
Parameter Name Default Value Description
$dn dn The DN of the entry at the moment
$newdn newdn The DN of the entry should be (only cn=newvalue)
$newparent newparent The full DN of the parent (null by default)
$deleteolddn deleteolddn Delete the old values (default)

Returns

bool Result of operation

Defined in

libraries/joomla/client/ldap.php

Importing

jimport( 'joomla.client.ldap' );

Source Body

function rename($dn, $newdn, $newparent, $deleteolddn) {
        return @ldap_rename($this->_resource, $dn, $newdn, $newparent, $deleteolddn);
}

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples

Code Examples