471,582 Members | 1,380 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,582 software developers and data experts.

access shared folder using specific credentials


How can I connect to a shared folder/file located on a remote computer in a
workgroup environment. I can't use impersonation and LogonUserA() API
because that only obtains a local user token? I am trying to do this in
I have also tried WNetAddConnection2() with a username and password along
with the CONNECT_INTERACTIVE flag set to prompt for a username and password.
This method creates a mapped network drive, which I do not want to do,
although it does work.
Dec 15 '05 #1
0 1930

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Ian B | last post: by
1 post views Thread by Jody Gelowitz | last post: by
2 posts views Thread by Dave | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by Vinnie | last post: by
1 post views Thread by lumer26 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.