Wednesday, September 2, 2009

Create a Saved Query that Displays Group Members

When you create a Saved Queries in ADUC that will query the members of a particular group, entering the Group Name is not enoguh. You have to enter the "Distinguish name" of the group.


Here's the step by step solution from Jeff Guillet:
http://www.expta.com/2008/02/create-saved-query-that-displays-group.html


•Use ADSIEdit.msc (in the Windows Support Tools) and navigate to the group


•View the properties of the group to reveal the distinguishedName attribute value and copy it to the clipboard (shown above)


•Open ADUC, right-click Saved Queries and select New query


•Enter a name for your query, "Accounting Group Members"


•Click the Define Query button


•Select Users, Contacts, and Groups from the Find: dropdown list


•Click the Advanced tab


•Click Field User Member of


•With the condition of "is (exactly)", paste the group's distinguishedName into the Value field and click Add


•Click OK twice to complete the query

No comments: