Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The WinHttpRequestAutoLogonPolicy enumeration includes possible settings for the Automatic Logon Policy.
typedef enum WinHttpRequestAutoLogonPolicy {
AutoLogonPolicy_Always = 0,
AutoLogonPolicy_OnlyIfBypassProxy = 1,
AutoLogonPolicy_Never = 2
} WinHttpRequestAutoLogonPolicy;
AutoLogonPolicy_Always
An authenticated log on, using the default credentials, is performed for all requests.
AutoLogonPolicy_OnlyIfBypassProxy
An authenticated log on, using the default credentials, is performed only for requests on the local intranet. The local intranet is considered to be any server on the proxy bypass list in the current proxy configuration.
AutoLogonPolicy_Never
Authentication is not used automatically.
To set the automatic logon policy, call the SetAutoLogonPolicy method and specify one of the preceding constants.
Note
For Windows XP and Windows 2000, see the Run-Time Requirements section of the WinHTTP start page.
Requirement | Value |
---|---|
Minimum supported client |
Windows XP, Windows 2000 Professional with SP3 [desktop apps only] |
Minimum supported server |
Windows Server 2003, Windows 2000 Server with SP3 [desktop apps only] |
Redistributable |
WinHTTP 5.0 and Internet Explorer 5.01 or later on Windows XP and Windows 2000. |
IDL |
|
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today