How can I Create a Directory on network Shared Drive impersonating a service account using C# asp.net. My web.config identity impersonate tag is set to true and no username and password is provided for security reasons. So I am just impersonating the code where I am accessing the network resources. It would be great if I could get a working code. Thanks.