thrownewLDAPUserCreationException("Error while adding entry to LDAP for username: ".$username.' Error: '.ldap_error($connection),ldap_errno($connection));
}
}
/**
* Check if a recovery email address is available (not already taken by another user).
*
* @param string $recoveryEmail The recovery email address to check.
*
* @return bool True if the recovery email address is available, false otherwise.