WinHttpRequestAutoLogonPolicy enumeration
The WinHttpRequestAutoLogonPolicy enumeration includes possible settings for the Automatic Logon Policy.
Syntax
typedef enum WinHttpRequestAutoLogonPolicy {
AutoLogonPolicy_Always = 0,
AutoLogonPolicy_OnlyIfBypassProxy = 1,
AutoLogonPolicy_Never = 2
} WinHttpRequestAutoLogonPolicy;
Constants
-
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.
Remarks
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.
Requirements
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 |
|