HTTP: Authenticating as the Current User

Authenticating as the current user with the HTTP component.

Date Entered: 10/30/2020    Last Updated: 11/02/2020

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 entry please contact our support team at kb@nsoftware.com.