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 )

11657 put(a) pogledan, 2 odgovor(a) 14.12.2011. 17:03:01Kreirao(la) Maxim
Maxim

Maxim

14.12.2011. 17:03:01
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!
Ovaj sadržaj još nije ocijenjen. 
319 Reputacija 30 Ukupno objava
denis

denis

14.12.2011. 18:24:53
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.
Ovaj sadržaj još nije ocijenjen. 
7207 Reputacija 956 Ukupno objava