Active Directory Search wildcards

  • Thread starter Thread starter Netmonster
  • Start date Start date
N

Netmonster

Hello,


I know how to search AD using the sAMAccountName if I know the exact
name of the users NT login id, but, does any one know if you can search
AD for sAMAccountName using wildcard chars? For example I wanted a
list of all the accounts with somethingsmith.

Thanks,

KC
 
Yes you can, the wildcard character is *

So, (sAMAccountName=F*) will find all AD records with sAMAccountName
beginning with "F"; (sAMAccountName=*F*) will find all records with
sAMAccountName containing "F", etc.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top