Skip to main content
.NET 6.0+

ShowNavigationItemController.SynchronizeItemsWithSecurity() Method

Makes the ShowNavigationItemController.ShowNavigationItemAction‘s items disabled if the Security System prohibits reading and navigating to the object type associated with the items.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v23.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public void SynchronizeItemsWithSecurity()

Remarks

Use this method when customizing the Items collection of the ShowNavigationItemAction. This method will disable the items that are not allowed for the current user. The items are allowed when the user has two permissions:

  • To navigate to the Views associated with the items.
  • To read the objects represented by the Views that are associated with the items.
See Also