SoapConnection:
SetBasicAuthentication method
Description
Determines
whether the SoapConnection object uses basic authentication for
a Web service connection.
Syntax
1 |
<span>conn</span>.<span>SetBasicAuthentication</span> (string <span>domain</span>, string <span>userID</span>, string <span>password</span>) |
Argument |
Description |
---|---|
conn |
The name of the SoapConnection object |
domain |
A string for the Web domain to which |
userID |
A string for an https connection. |
password |
A string for an https connection. |
Return Values
Long. Valid values are 0
for
success, and 50
for failure.
Usage
You can call the SetBasicAuthentication method
instead of including client identification information in the options argument
of the SetOptions method.
If you are using .NET Web serveices, you can call the UseIntegratedWindowsAuthentication method
for Integrated Windows Authentication.
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest