AddCredential - Problem with Windows authentication

Hi everyone,

Sorry to post questions so often these last days but I am facing some issues.

My problem this is the following: when I add credential to my project using a custom user, it works without problem:

newSDLProject.Credentials.AddCredential(new Uri("sdltm.http://server:port"), "user=sa;password=sa;type=CustomUser");

However, when I want to change the type of credential to Windows authentication, using the following statement:

newSDLProject.Credentials.AddCredential(new Uri("sdltm.http://server:port"), "user=;password=;type=Windows");

the application stops running and indicates "Requested value 'Windows' was not found.

Could you please help me?

Thanks in advance for your support.

Laurent

Parents Reply Children
No Data