I found this vbscript snippet that queries active directory for users whose "Password never expires" is checked. How do I change the query to return those users whose "Password never expires" is "Unchecked"?
Thanks
Code:
objCommand.CommandText = _
"<LDAP://dc=c-sgroup,dc=com>;" & _
"(&(objectCategory=User)(userAccountControl:1.2.840.113556.1.4.803:=65536));" & _
"Name;Subtree"
Thanks