MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Hide menu item from registred users  (Mono Support )

Viewed 10810 time(s), 2 post(s) 12/14/2011 5:03:01 PMby Maxim
Maxim

Maxim

12/14/2011 5:03:01 PM
Hi!

I found how to hide menu item(opage) from unregistred users(roles), but now I want otherwise hide menu item from registered users.
Can MonoX do it? Or give me advice how to realize correctly.

Thanks!
This content has not been rated yet. 
319 Reputation 30 Total posts
denis

denis

12/14/2011 6:24:53 PM
Hi Maxim,
No, this would require a separate role for non-authenticated users that could be selected in the admin menu. We are implementing such scenarios by using the standard ASP.NET syntax for checking if the current user is authenticated, Page.User.IsAuthenticated.
This content has not been rated yet. 
7207 Reputation 956 Total posts