Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Active Directory > LDAP Query to retrieve users for certain groups

Reply
Thread Tools Display Modes

LDAP Query to retrieve users for certain groups

 
 
Junior Member
Join Date: Oct 2011
Posts: 1

 
      10-27-2011
Hi,

I am trying to write a query to find the users who belong to certain groups starting with the group names like 'INFA_LDAP_'. I was able to retrieve the groups using a wildcard entry. But I am not able to retrieve users with in the groups starting with 'INFA_LDAP_'. Below is the example for searching for Groups using a wildcard entry:

Code:
(&(objectCategory=group)(sAMAccountName=INFA_LDAP_*))
I read in some forums that wild card entries are not allowed in a member or memberOf function to retrieve the users. Please let me know if there is any alternative to do this.

I am struggling a bit to retrieve the members of groups based on a pattern matching criteria in the query.

Any help would be highly appreciated.

Thanks,
Srikanth
 

Last edited by svajhala; 10-27-2011 at 05:43 PM..
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
Problems installing WMP 11 On XP Professional Machine Taylor Kostal Windows Media Player 1 06-29-2010 11:10 PM
LDAP Query AD Active Directory 6 06-03-2010 05:53 AM
Standard Users Privileges Sam Windows Vista Administration 15 07-06-2007 07:22 PM
Why are so many Mac users here learning Vista's inherent Security? Jonathan Schwartz 2 Windows Vista Installation 2 02-14-2007 05:54 PM
Monitor / Query - Active Users ActiveSync patilp ActiveSync 0 11-13-2006 08:34 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59