public __construct ( string $dn, null | string $newRdn = null, null | string $newLocation = null, boolean $deleteOldRdn = true ) | ||
$dn | string | The DN of the LDAP object to rename. |
$newRdn | null | string | The new RDN in the form of "CN=NewName" |
$newLocation | null | string | The new container/OU it should be placed. Leave null if only changing the RDN. |
$deleteOldRdn | boolean | Whether the old RDN should be deleted. |