I have some custom admin screens that are coded in web forms rather than MVC. I have added them to a folder that is specified in the umbracoReservedPaths element of the web.config file so that Umbraco does not process them.
I want the web form to check that the user is logged into the backend of Umbraco before they are allowed to view the form.
What Umbraco classes / methods should I use to check for authentication? e.g. to see if the user is an editor or administrator and is logged in.
Is this possible? I know I should probably be using another way to give a native umbraco backend experience but want to use web forms for these screens if possible.
Check for backend login from webform that sits under umbracoReservedPaths
Hi,
I have some custom admin screens that are coded in web forms rather than MVC. I have added them to a folder that is specified in the umbracoReservedPaths element of the web.config file so that Umbraco does not process them.
I want the web form to check that the user is logged into the backend of Umbraco before they are allowed to view the form.
What Umbraco classes / methods should I use to check for authentication? e.g. to see if the user is an editor or administrator and is logged in.
Is this possible? I know I should probably be using another way to give a native umbraco backend experience but want to use web forms for these screens if possible.
thanks,
Nick
is working on a reply...