NavigationTermSetView.ExcludeTermsByPermissions property
Gets or sets a value that indicates whether NavigationTerm objects are trimmed if the current user does not have permission to view the target page for the friendly URL of the NavigationTerm object.
Namespace: Microsoft.SharePoint.Client.Publishing.Navigation
Assembly: Microsoft.SharePoint.Client.Publishing (in Microsoft.SharePoint.Client.Publishing.dll)
Syntax
'Declaration
Public Property ExcludeTermsByPermissions As Boolean
Get
Set
'Usage
Dim instance As NavigationTermSetView
Dim value As Boolean
value = instance.ExcludeTermsByPermissions
instance.ExcludeTermsByPermissions = value
public bool ExcludeTermsByPermissions { get; set; }
Property value
Type: System.Boolean
A Boolean value that indicates whether a view of a term is excluded.
Remarks
When traversing the tree, if this property is true, then the NavigationTerm objects will be excluded if the current user does not have permissions to view them. This security trimming is applied only for NavigationTerm objects that point to pages in the current web.