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
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.
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
UmbracoAuthorizedJsonController
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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.
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
is working on a reply...