The file access runs as the current user with the permissions of the current user. If you want to do the access with the credentials of a different user, you will either have to use the impersonation APIs or map the network drive.
In reply to Re^3: How do you Map & Disconnect Network Drives (in Windows)?
by Corion
in thread How do you Map & Disconnect Network Drives (in Windows)?
by perlofwisdom
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |