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.
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
Request.IsAuthenticated
And the standard Membership provider methods for getting info of the current user
IsLoggedOn returns false for admin user
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.
Hey,
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
Matt
@Matt
Neither worked. Request.IsAuthenticated is always false and Membership.GetUser() returns null.
is working on a reply...