The AlwaysAuthenticate property gets or sets a Boolean value that indicates whether the Forefront TMG Web proxy always requires authentication before processing a request even if the policy does not require authentication.
HRESULT put_AlwaysAuthenticate( VARIANT_BOOL fAlwaysAuthenticate ); HRESULT get_AlwaysAuthenticate( VARIANT_BOOL** pfAlwaysAuthenticate );
Pointer to a Boolean variable that is set on return to VARIANT_TRUE if the Web proxy always requires authentication before processing a request, or to VARIANT_FALSE if the Web proxy authenticates requests when required by the policy.
Boolean value that indicates whether the Web proxy always requires authentication before processing a request.
These property methods return S_OK if the call is successful; otherwise, they return an error code.
Property AlwaysAuthenticate As Boolean
Boolean value that indicates whether the Web proxy always requires authentication before processing a request.
This property is read/write. Its default value is False (VARIANT_FALSE in C++).
When this property is set to False (VARIANT_FALSE in C++) for a network, authentication can be required for an access rule by referencing the All Authenticated Users user set instead of the All Users user set in the UserSets property of the applicable rule.
When this property is set to True (VARIANT_TRUE in C++) for a network, traffic to sites that do not support user authentication, such as Windows Update, may be blocked. For a Web listener used in a Web publishing rule, authentication will be performed before the rule is applied to the traffic. If forms-based authentication is used, only the authentication settings in the Web listener will be used, and the customized HTML forms set specified in the Web publishing rule properties (CustomFormsDirectory) will be ignored.
The value of this property corresponds to the status of the Require all users to authenticate check box for the applicable network or Web listener in Forefront TMG Management.
Client | Requires Windows Vista or Windows XP. |
---|---|
Server | Requires Windows Server 2008. |
Version | Requires Forefront Threat Management Gateway (TMG). |
IDL |
Declared in Msfpccom.idl. |
DLL |
Requires Msfpccom.dll. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.