I used the "LogonUser" followed by the "ImpersonateLog gedOnUser" functions
and all is working well.
It did involve setting up a local user account on the machine running the
program that matches the Username/Password of a suitable user on the remote
machine as well.
I initially banged my head trying to logon to to remote machine....
unsuccessful... . The solution is to Logon locally and that username and
password is then automatically used when the remote access is made, and allis well.
Kind Regards....Adri an
I copied this from a previous discussion, I am trying to do the same thing but I have 11 server that need the file that I am trying to copy and all of them will use different credentials so its not really viable to create, on the server that is executind the service, 11 different users.
Basically, is there a way to logon a remote server without having to logon locally with the credentials?
and all is working well.
It did involve setting up a local user account on the machine running the
program that matches the Username/Password of a suitable user on the remote
machine as well.
I initially banged my head trying to logon to to remote machine....
unsuccessful... . The solution is to Logon locally and that username and
password is then automatically used when the remote access is made, and allis well.
Kind Regards....Adri an
I copied this from a previous discussion, I am trying to do the same thing but I have 11 server that need the file that I am trying to copy and all of them will use different credentials so its not really viable to create, on the server that is executind the service, 11 different users.
Basically, is there a way to logon a remote server without having to logon locally with the credentials?