Official Content

Authenticates proxy when required.

Syntax

&DataType.AddProxyAuthentication(Method, Realm, User, Password)

Where:
Method
    Must be numeric:

  • &DataType.Basic for Basic Authentication.format to Where / Scope
  • &DataType.Digest for Digest Authentication.
  • 2 for NTLM Authentication.
  • 3 for Kerberos Authentication.

Realm
    Name of the realm. It must be string.

  • In Java the realm value is mandatory.
  • If NTLM authentication is used, the realm name is usually the network domain.

User
    Name of the user to authenticate. It must be string.

Password
    User password. It must be string.

Scope

Extended data types: HttpClient data type
Generators: .NET, .NET Framework, Java, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3)

See Also

HttpClient data type


Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant