Copied to clipboard

Flag this post as spam?

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


  • Nguyen Dung Tri 106 posts 606 karma points
    Sep 20, 2016 @ 05:26
    Nguyen Dung Tri
    0

    How to check admin login on back-end of Merchello?

    Hello,

    As the question title, I want a function or block of code in C# to check whether logged user is admin or not (Only checked on back-end).

    Note: The answer of this question will help me to prevent someone call API from back-end without logged as administrator.

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Sep 20, 2016 @ 14:57
    Rusty Swayne
    100

    You should ask this question in the general Umbraco forum. Merchello does not handle any authentication.

    I'm sure the method exists but I normally just inherit from UmbracoAuthorizedJsonController

Please Sign in or register to post replies

Write your reply to:

Draft