Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ShowNavigationItemController.SynchronizeItemsWithSecurity() Method

In This Article

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.v24.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