Hi Everyone,
I want to Hide custom action for all users and groups , only anonymous users can see it.
How I can do this ?
Custom action permission can be configured using it’s Right property that can take up any of the 33 inbuilt permissions SharePoint has. Refer to this article for more details. Else you can create a custom class that will decide when you want to show the menu item based on the custom logic. Refer to this article.
-Ateet