You can use the TranslateName() UDF and a @ldomain\@userid to return the distinguished name. From that you simply remove the CN=userid, and have the DN for the OU.
_________________________
Home page: http://www.kixhelp.com/hb/