If used, the LOGDATA and LOGMECH commands must precede the LOGON command. The commands themselves may occur in any order.
The following example demonstrates using the LOGDATA, LOGMECH, and LOGON commands in combination to specify the Windows logon authentication method and associated parameters:
.logmech NTLM; .logdata joe@domain1@@mypassword; .logon cs4400s3;