>Necesito que aplicacíon se logee a un Dominio Windows NT a traves de codigo. Existe algun mecanismo para realizar esto. El API de Windows, tal vez.
>Saludos
>
>Is posible logon by code in a Windows NT Domain.
>Sorry my english.
>Thank you.
You should be able to use a net use connection if you are running Windows NT and connection to an NT box.
Net use * \\anotherserver\sharename /user:othername yourpasswordgoeshere
The above command will allow you to log in to a different domain as a different user. You can swap the asterisk for a drive letter if you prefer.
John Harvey
Shelbynet.com
"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright