MLOGON32 (located in \TOOLKIT\SAMPLES\LANSERV\MLOGON32) logs on a user, waits for the user to press the Spacebar, and logs off the user. The user name, password (if required), and domain name are passed as command line parameters to the program.