The duplicate Dim of $x I only see in the couple examples. I intended each to be a standalone example. I do not see an y $x in the UDF itself.

Since I no longer will be returning the error text, I guess I can cleanup the extra $Error and $ErrorText vars.

I will cleanup the Macros in the string...

Presently I still need two binds to get names for the user and a second call for the names for the workstation. I would like to get the both with one bind. So I think I will look at this some more and loop the SET for a comma separated input name.

My intent would be to be able to pass in both the Ldomain\user and Domain\workstation names. I am not sure if I like the concatenation of the two values as input or somehow getting two input vars.
_________________________
Home page: http://www.kixhelp.com/hb/