|
I use queries like this for
dozens of programs and scripts, but two of these are new to me. When I need to
find/exclude a disabled account I’ll use (!userAccountControl:1.2.840.113556.1.4.803:=2).
I tried briefly the (useraccountcontrol:AND:=2), or the (!(useraccountcontrol:AND:=2))
I wasn’t able to include/exclude disabled users. Is that unique to
Adfind?The query I used to test for that was (&(objectcategory=person)(objectclass=user)(!useraccountcontrol:AND:=2))
brought up all users regardless of 512/514 I’d love to be able to
harness the powers of adfind in some of my existing scripts and ASP pages. Is
there a link with perhaps an example or two of utilizing your program within a
VB/VBS/ASP? Also, using (samaccounttype=805306368),
is there a listing of the possible samaccount types? Regards,
O monstrous world! Take note, take note, o world, To be direct and honest is not safe! -William Shakespeare. _____ From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of joe
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Alex Fontana
Confidentiality Notice: The information contained in this message may be legally privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any release, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error please notify the author immediately by replying to this message and deleting the original message. Thank you. |
- RE: [ActiveDir] Querying for all users Stelley, Douglas
