Feb
3
When I was looking on the internet for some info about User Profile import in SharePoint 2007 I found the blogpost of Duarte Nobrega about LDAP User Filters. Some examples of the filters are:
Default user filter:
(&(objectCategory=Person)(objectClass=User))
Exclude accounts with no email address:
(&(objectCategory=Person)(objectClass=User)(!(userAccountControl:1.2.840.113556.1.4.803:=2))(mail=*))
Exclude disabled accounts:
(&(objectCategory=person)(objectClass=user)(!userAccountControl:1.2.840.113556.1.4.803:=2))
Read more at the source.
Tags: AD


Leave a Reply