Share via


Permission.EnableTrustedBrowser Property 

Returns or sets the option that allows a user to view a document with restricted permissions in a web browser if the user does not have the appropriate client application installed.

Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)

Usage

Dim permission1 As Permission

Dim returnValue As Boolean
returnValue = permission1.EnableTrustedBrowser

Dim sampleValue As Boolean
permission1.EnableTrustedBrowser = sampleValue

Syntax

Property EnableTrustedBrowser() As Boolean
bool EnableTrustedBrowser {get; set;}
property Boolean EnableTrustedBrowser{
    Boolean get();
    Void set(Boolean);
}
public boolean get_EnableTrustedBrowser();
public void set_EnableTrustedBrowser(boolean);
function get EnableTrustedBrowser() : Boolean;
function set EnableTrustedBrowser(Boolean);

Remarks

The default return value is False.

The EnableTrustedBrowser property, when True, allows a user who tries to open an Office Word 2003 document with restricted permissions, for example, but who does not have the Office Word 2003 application installed, to view the document in Microsoft Internet Explorer or another browser that supports this functionality. This property corresponds to the checkbox Allow users with earlier versions of Office to read with browsers supporting Information Rights Management. (Increases file size.) in the user interface.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Permission Interface
Microsoft.Office.Core Namespace

Other Resources

Permission Members