Imanami Community

Join or create discussions about common issues and solutions.
Welcome to Imanami Community Sign in | Join | Help
in Search

How to include only enabled users

Last post 11-14-2007, 5:03 PM by Robert Haaverson. 0 replies.
Sort Posts: Previous Next
  •  11-14-2007, 5:03 PM 421

    How to include only enabled users

    To include only enabled accounts in your reports, add the following predicate to your filter:

     (!userAccountControl:1.2.840.113556.1.4.803:=2)

    For example:

    (&(objectCategory=Person)(objectClass=User)(!userAccountControl:1.2.840.113556.1.4.803:=2)) 

View as RSS news feed in XML
Powered by Community Server (Personal Edition), by Telligent Systems