PC Review


Reply
Thread Tools Rate Thread

Active Directory Search wildcards

 
 
Netmonster
Guest
Posts: n/a
 
      23rd Mar 2005
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

 
Reply With Quote
 
 
 
 
=?Utf-8?B?S0g=?=
Guest
Posts: n/a
 
      23rd Mar 2005
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.


"Netmonster" wrote:

> 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
>
>

 
Reply With Quote
 
Netmonster
Guest
Posts: n/a
 
      25th Mar 2005
Thanks. This worked great.


KC

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
search user in active directory =?Utf-8?B?c2dy?= Microsoft VB .NET 2 31st Oct 2006 06:54 PM
Problem with search in active directory Vorstenbos Microsoft Windows 2000 Active Directory 0 12th Sep 2005 03:01 PM
Active Directory Search antonio Windows XP General 0 10th Aug 2004 05:34 PM
Active directory search Help !!! alpha Microsoft ADO .NET 4 5th Jan 2004 01:43 PM
Active Directory Search Ken Tookes Microsoft Windows 2000 Active Directory 1 26th Sep 2003 06:21 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:20 PM.