Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
If the admin user has complete control surely IsLoggedOn should return true when the admin user is logged in??? How else would you know if the admin user is logged in and you do not have role based security enabled?
An IsAdmin() method would be very handy for this situation.
Are you working from XSLT or .NET?
Looking at the umbraco.library method, it looks like it works purley for Members. As admin is a User and not a Member, IsLoggedIn wouldn't work. Is using .NET, you could always check the standard
And the standard Membership provider methods for getting info of the current user
Neither worked. Request.IsAuthenticated is always false and Membership.GetUser() returns null.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted