active directory - PHP LDAP Distinguish user from computer -


is there way query ldap , leave out computers in result?

there users , computers inside ou, , want display users cn, title,address etc...

thanks!

you need add following ldap filter (!(objectclass=computer)). exclude computer objects.

you can read more on ldap filters in ldap filter syntax article.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -