If you feed TranslateName() a NetBIOS name, it can return the full DN which of course, would include the OUs. It is a simple matter of Split()ting the OUs from the DN.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.