ldap_get_dn
(PHP 4, PHP 5, PHP 7, PHP 8)
ldap_get_dn — Get the DN of a result entry
說明
Finds out the DN of an entry in the result.
參數
-
ldap 通過 ldap_connect() 返回的 LDAP\Connection 實例。
-
entry LDAP\ResultEntry 實例。
返回值
Returns the DN of the result entry and false on error.
更新日誌
| 版本 | 說明 |
|---|---|
| 8.1.0 | 現在 ldap 參數接受 LDAP\Connection 實例,之前接受 資源(resource)。 |
| 8.1.0 | The entry parameter expects an LDAP\ResultEntry instance now; previously, a 資源(resource) was expected. |