View Single Post
Old 07-04-2009   #7 (permalink)
Mark D. MacLachlan


 
 

Re: Map network printers based on OU user is in within Active Dire

Hi Richard,

We have a similar approach in both favoring using groups to assign
printers. I've noticed though that you seem to prefer to bind to each
group so you can use IsMember where I prefer to bind to the user and
enumerate the groups they are a member of.

http://www.tek-tips.com/faqs.cfm?fid=5798

I'm wondering if you have any opinion on which might perform faster.
I'm thinking that binding to a single object and then iterating through
the array of groups would be quicker but that will really depend on how
many groups a user is a member of. Coding wise, I think using a Select
Case is easier than a whole bunch of If Then statements.

So, I see advantages to both approaches and welcome your expert opinion.

Regards,

Mark D. MacLachlan
My System SpecsSystem Spec