Good to see you here Joe.

Since you are using Incontainer() you have already loaded TranslateName(). You can simply call:
code:
$DN = TranslateName (3, "", 3, "@LDomain\@UserId", 1)
? "DN = " + $DN[0]
? "Error = " + $DN[1]
? "ErrorText = " + $DN[2]

to get the DN of the user.

[ 17 June 2002, 18:21: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/