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.v18.2.dll

Declaration

public void SynchronizeItemsWithSecurity()
Public Sub SynchronizeItemsWithSecurity

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