Title: groups vs attributes

Sorry, I didn’t word that very well. You’re right, Lou, that is what they do. I guess their main point is that querying an attribute that we create for the purpose seems faster than when they check the group membership. I don’t know how valid that is…

 

<mc>


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lou Vega
Sent: Tuesday, October 19, 2004 10:28 AM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] groups vs attributes

 

I may be missing something in the reading, but why not just query AD based on the username and determine if that user object is a member of the group in question instead of returning a list of all users for a given group? Another possibility (one you may well have thought of already but didn’t mention) is that you can filter your search [searcher.Filter = "(&(objectCategory=user)(sAMAccountName=" & Trim(userName) & "))"]

 

r/

Lou

Reply via email to