Authenticates one user to a domain, using an authentication type.
&DataType.AddAuthentication(Method, Realm, User, Password)
Where:
Method
Authentication type, properties Basic and Digest can be used. It must be numeric where 0 = Basic, 1 = Digest, 2 = NTLM and 3 = Kerberos.
Note: In Genexus 15, there's an enum domain (HttpAuthenticationType) that represents the possible values.
Realm
Name of the realm. It must be a string.
User
Name of the user to be authenticated. It must be a string.
Password
Password of the user. It must be a string.
Extended data types: HttpClient
Generators:.NET, Java, .NET Framework, Apple, Android.
HttpClient data type