Does anyone know how to open a file on a remote computer using different credentials. I know windows 2000 & XP have a "Secondary Logon" service that allows this, but does anyone know what API allows access to this service.
Just for info the file I want to access is on a Windows 2000 Pro machine and is on a C$ share (i.e. \\pc-name\C$\file.txt). The username i will supply will be a member of the Administrators group.