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
Hi, I am creating and admin aspx page to be placed in umbraco/plugins/[pluginName] folder.
I need to the the current user info (isAuthenticated and userName).
when I logged in as "admin" the user info I got by using Page.User.Identity property is incorrect
Page.User.Identity{System.Security.Principal.GenericIdentity} [System.Security.Principal.GenericIdentity]: {System.Security.Principal.GenericIdentity} AuthenticationType: "" IsAuthenticated: false Name: ""
and
((BasePage)Page).User.Identity{System.Security.Principal.GenericIdentity} [System.Security.Principal.GenericIdentity]: {System.Security.Principal.GenericIdentity} AuthenticationType: "" IsAuthenticated: false Name: ""
How to get the isAuthenticated value and userName without using Umbraco API?
The reason: I want my web project as independent as possible from Umbraco so other peope can use this userControl independent of any CMS.
Thank you
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
get isAuthenticated value and userName from aspx for Back office application (umbraco 4.7 asp.net 4.0)
Hi, I am creating and admin aspx page to be placed in umbraco/plugins/[pluginName] folder.
I need to the the current user info (isAuthenticated and userName).
when I logged in as "admin" the user info I got by using Page.User.Identity property is incorrect
Page.User.Identity
{System.Security.Principal.GenericIdentity}
[System.Security.Principal.GenericIdentity]: {System.Security.Principal.GenericIdentity}
AuthenticationType: ""
IsAuthenticated: false
Name: ""
and
((BasePage)Page).User.Identity
{System.Security.Principal.GenericIdentity}
[System.Security.Principal.GenericIdentity]: {System.Security.Principal.GenericIdentity}
AuthenticationType: ""
IsAuthenticated: false
Name: ""
How to get the isAuthenticated value and userName without using Umbraco API?
The reason: I want my web project as independent as possible from Umbraco so other peope can use this userControl independent of any CMS.
Thank you
is working on a reply...