Share via


EnableUserOverride Property of the IFPCAccessProperties3 Interface

The EnableUserOverride property gets or sets a Boolean value that indicates whether user override is enabled for the rule. (This property is introduced in Forefront TMG 2010 SP 1.)

C++

HRESULT put_EnableUserOverride(
    VARIANT_BOOL fEnableUserOverride
);
HRESULT get_EnableUserOverride(
    VARIANT_BOOL* pfEnableUserOverride
);

Parameters

  • fEnableUserOverride
    Boolean value that indicates whether user override is enabled for the rule.

  • pfEnableUserOverride
    Pointer to a Boolean variable that is set on return to VARIANT_TRUE if user override is enabled for the rule, or to VARIANT_FALSE if user override is disabled for the rule.

Return Value

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Visual Basic

Property EnableUserOverride As Boolean

Property Value

Boolean value that indicates whether user override is enabled for the rule.

Remarks

This property is read/write. Its default value is False (VARIANT_FALSE in C++).

User override can be enabled only for deny rules that do the following.

  • Apply only to the HTTP protocol.
  • Have only URL categories or URL category sets as destinations.
  • Apply to all types of content.

When user override is enabled, you must create an access rule that allows access to the URL categories that are blocked by the deny rule. This access rule must be positioned after the deny rule. When a user clicks Override Access Restriction, the deny rule is disabled temporarily, and the request is allowed by the allow access rule.

Requirements

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCAccessProperties

Send comments about this topic to Microsoft

Build date: 6/30/2010