CJ - Maybe I am just being dense, but all I see in that code snippet is a dialog that stores a variable, how do you apply it to an AD account?
_________________________
Today is the tomorrow you worried about yesterday.