From my website. I need to allow user to be able to delete files from a shared folders. How do I impersonate a non-windows account? I need to connect to a multiple Linux shared folder. so I do not want to map a drive letter. I currently use the below command, but I do not want to show my user name and password. I'm able to get the command below to work with impersonate with my windows account but .net impersonate does not work on non-windows accounts. I need a solution that will let me connect to a shared folder using a non-windows account.
Example: I'm using the .Net ProcessStartInfo.Arguments Property
startInfo.FileName = "net";
startInfo.Arguments = "use \\\\Servername\serverPath serverPassword /user:serverUsername";