Events
Power BI DataViz World Championships
Feb 14, 4 PM - Mar 31, 4 PM
With 4 chances to enter, you could win a conference package and make it to the LIVE Grand Finale in Las Vegas
Learn moreThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Version: Available or changed with runtime version 12.0.
Sets the HttpClient credentials to use the specified network credentials for Windows authentication. If this method is invoked after any HTTP request has started; a runtime error occurs.
Note
This method is supported only in Business Central on-premises.
[Result := ] HttpClient.UseWindowsAuthentication(UserName: SecretText, Password: SecretText [, Domain: SecretText])
HttpClient
Type: HttpClient
An instance of the HttpClient data type.
UserName
Type: SecretText
The Windows user name.
Password
Type: SecretText
The password.
[Optional] Domain
Type: SecretText
The user's domain.
[Optional] Result
Type: Boolean
true if the operation was successful; otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.
HttpClient Data Type
Getting Started with AL
Developing Extensions
Events
Power BI DataViz World Championships
Feb 14, 4 PM - Mar 31, 4 PM
With 4 chances to enter, you could win a conference package and make it to the LIVE Grand Finale in Las Vegas
Learn more