Is it possible to populate an ICredentials object with the current user context?
I need to call a webdav function, and this requires credentials. The user that the rest of the c# code runs under has access to this external website where the webdav function executes. 

How can I pass the executing users credentials through to the webdav function without manually specifying the username + password. 

My code looks something like this:

    var request = (HttpWebRequest)WebRequest.Create(folderAddress);
    request.Credentials =  credentials;// here I need the transform; 
    request.Method = "MKCOL";
    response = (HttpWebResponse)request.GetResponse();
    response.Close();

Thanks in advance

EDIT: from my understanding System.Net.CredentialCache.DefaultCredentials gets the currently logged on user (correct me if I'm wrong), but the currently logged on user isn't the same as the user account that runs this service. 
Is it possible to populate an ICredentials object with the current user context?
===

I need to call a webdav function, and this requires credentials. The user that the rest of the c# code runs under has access to this external website where the webdav function executes. 

How can I pass the executing users credentials through to the webdav function without manually specifying the username + password. 

My code looks something like this:

    var request = (HttpWebRequest)WebRequest.Create(folderAddress);
    request.Credentials =  credentials;// here I need the transform; 
    request.Method = "MKCOL";
    response = (HttpWebResponse)request.GetResponse();
    response.Close();

Thanks in advance

EDIT: from my understanding System.Net.CredentialCache.DefaultCredentials gets the currently logged on user (correct me if I'm wrong), but the currently logged on user isn't the same as the user account that runs this service. 