Base solution for your next web application
Open Closed

show menu for all tenants but not host #3762


User avatar
0
bcaa4567 created

Hi

I am wondering what is the best way to show a menu for all tenants but the host. Thanks!

derek


3 Answer(s)
  • User Avatar
    0
    alirizaadiyahsi created

    Hi,

    In project there is a menu like you want that named 'Subscription'. This menu is only visible for tenants. So you can do like this example. And also you may check this document (HIDE UNAUTHORIZED MENU ITEM) : <a class="postlink" href="https://aspnetzero.com/Documents/Developing-Step-By-Step-Core">https://aspnetzero.com/Documents/Develo ... -Step-Core</a>

  • User Avatar
    0
    bcaa4567 created

    it worked using the first approach. Thanks!

  • User Avatar
    0
    alper created
    Support Team

    thanks for your feedback