开发者

Search on phone number in AD

开发者 https://www.devze.com 2023-03-10 01:04 出处:网络
Is it possible to search in LDAP who has their phonenumber set? (as in, everybody without开发者_开发技巧 a NULL value as phone will be shown?)

Is it possible to search in LDAP who has their phonenumber set? (as in, everybody without开发者_开发技巧 a NULL value as phone will be shown?)

edit: without knowing the usernames beforehand..


Figured it out myself by playing around abit, for any1 curious:

$filter = '(&(objectCategory=person)(telephoneNumber=*))';

Does the trick

0

精彩评论

暂无评论...
验证码 换一张
取 消