I’m trying to call RemoteCreateDirectories in SharpSVN through a web app and want the credentials to be that of the logged on user. Can this be done implicitly or is the username and password required as per the example below?
using (var svnClient = new SvnClient())
{
svnClient.Authentication.DefaultCredentials = new NetworkCredential(@"aaa\bbb", "ccc");
svnClient.LoadConfiguration(repoName);
svnClient.RemoteCreateDirectories(uris, args);
}
I don’t want to explciitly request credentials from the user (it’s an integrated auth app) so the only other way I see around this is to use a service account which is not ideal.