This topic has not yet been rated - Rate this topic

SPWebApplication.ShowURLStructure Property

SharePoint 2010

Gets or sets a Boolean value that specifies whether users are allowed to see the file structures of Web sites.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
public bool ShowURLStructure { get; set; }

Property Value

Type: System.Boolean
Boolean
true to allow users to see file structures; otherwise, false. The default value is true.
Exception Condition
SecurityException

The property cannot be set because the current user is not a farm administrator.

This property is not meant to serve as a security feature, but as a convenience for administration of the Web application.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ