Show in navigation if user is not logged in

Merete Nor Midtskog asked on May 20, 2014 08:12

I need to show a page menu in my top navigation. This page menu will only be visible if user is NOT logged in.

Regards Merete

Recent Answers


jack Ryder answered on May 20, 2014 08:50

Just Follow Below Steps:- 1)Select Document 2)Select Property Tab 3)Click on Security tab 4)In that you can find "select role" 5)click on that and select role from it. name of role is "unauthorized" 6)And save it and test it.....

0 votesVote for this answer Mark as a Correct answer

Milan Kačurák answered on May 21, 2014 07:08 (last edited on December 10, 2019 02:30)

In case your page menu is represented by some web part I recommend you to set Visibility property of the web part to macro expression {% !CurrentUser.IsAuthenticated |(identity)GlobalAdministrator%}

1 votesVote for this answer Mark as a Correct answer

jack Ryder answered on May 23, 2014 07:29

better Solution....

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.