You need to create a connection to the server in question. Use something
like WNetAddConnection2, which will allow you to specify which credentials
to use. This will not work if the user is already connected to that server
(on a different share).
Jerry
"Jon the Blind" <no****@spamfree.biz> wrote in message
news:uz**************@TK2MSFTNGP09.phx.gbl...
How can programmatically I access a network share, specifying credentials
different from those of the loggin-in user of the machine?
Any insights are appreciated.
Thanks.
Jon