Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nick 37 posts 130 karma points
    Nov 19, 2015 @ 15:56
    Nick
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft