PHP 8.3.4 Released!

ldap_unbind

(PHP 4, PHP 5, PHP 7, PHP 8)

ldap_unbindLöst die Bindung zu einem LDAP-Verzeichnis

Beschreibung

ldap_unbind(LDAP\Connection $ldap): bool

Löst die Bindung zu einem LDAP-Verzeichnis.

Parameter-Liste

ldap

Eine LDAP\ConnectionInstanz, die von ldap_connect() zurückgegeben wurde.

Rückgabewerte

Gibt bei Erfolg true zurück. Bei einem Fehler wird false zurückgegeben.

Changelog

Version Beschreibung
8.1.0 Der Parameter ldap erwartet nun eine LDAP\Connection-Instanz; vorher wurde eine gültige ldap link-Ressource erwartet.

Siehe auch

add a note

User Contributed Notes 1 note

up
25
kmenard at wpi dot edu
22 years ago
ldap_unbind kills the link descriptor. So, if you want to rebind as another user, just bind again; don't unbind. Otherwise, you'll have to open up a new connection.
To Top