HTTP: Authenticating as the Current User

Authenticating with the current user credentials is possible with the HTTP component. In this case the logged in windows user credentials are used for authentication and the User and Password properties are not required. To enable this functionality set AuthScheme to NTLM or Negotiate and simply do not set User or Password.

In C#: http.AuthScheme = HttpAuthSchemes.authNegotiate; http.Get("www.example.com")

In C++: http.SetAuthScheme(5); //Negotiate; http.Get("www.example.com");

Note: This functionality is only supported on Windows.

We appreciate your feedback.  If you have any questions, comments, or suggestions about this article please contact our support team at kb@nsoftware.com.