look'n pretty good...

Suggestion: Pass in an array of fields or string to return. This will save the overhead of creating the ADO object and querying the AD over and over.

Return array or string depending on input.
_________________________
Home page: http://www.kixhelp.com/hb/