I've followed the guide on handling form's data via the API, https://docs.kentico.com/display/K8/Working+with+form+data+using+the+API#WorkingwithformdatausingtheAPI-Handlingformevents
I'm using the BizFormItemEvents.Update.After event instead but can't figure out how to know if this is a public or admin use that submitted of the form.
Tried with SiteContext.CurrentUser however that's never set, I could do with knowing if the form was submitted with an alternative form or not (i'm using alternative's for insert and update), but at least that I could see the BizFormItem does not have this info.
Basically what I'm trying to achieve is be able to set a field to false (IsReviewed) if the update was done by a public user.
BTW, this question related to https://devnet.kentico.com/questions/using-the-query-string-hashing
Thanks in advance,
Try to use MembershipContex.AuthenticatedUser
Thank you Roman, that worked, i'm using MembershipContext.AuthenticatedUser.IsPublic()
Please, sign in to be able to submit a new answer.