gliker-inorbital wrote: To clarify my previous post, website will have number of users. Some of them will be just normal members, and some will be editors and administrators. I want to add macro into "Visible" webpart field to hide login form from all those who are already logged in regardless what role they have.
Hello.
I'm sure my solution is not the best but just to let you know a different approach from setting the roles (maybe someone needs this in the future):
{%if (currentuser.userid == "65") { "<Anonymous>" } else { "<Registered>" }%}
Where 65 is the code of the Anonymous user in Kentico (I can't exclude it may change in the future).
I successfully used this solution in many cases.
Regards,
Marcello