开发者

Search on phone number in AD

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜