SiteNavigationSettingsWriter.SecurityTrimmingEnabled Property
Gets or sets whether security trimming is enabled.
Namespace: Microsoft.SharePoint.Publishing.Navigation
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Property SecurityTrimmingEnabled As Boolean
Get
Set
'Usage
Dim instance As SiteNavigationSettingsWriter
Dim value As Boolean
value = instance.SecurityTrimmingEnabled
instance.SecurityTrimmingEnabled = value
public bool SecurityTrimmingEnabled { get; set; }
Property Value
Type: System.Boolean
Returns Boolean. true if security trimming is enabled; otherwise, false.
See Also
Reference
SiteNavigationSettingsWriter Class