so call translatename() to get the ldap string, and pass it into a modified UDF like what I provided, which only returns the CN as elements in an array.

the only "problem" with using AD/LDAP is that very often you only need the 'simplest' form of the result.

In any case they both work

but we have apparently lost our poster...
_________________________
How to ask questions the smart way <-----------> Before you ask