What is an equivalent of CMS.CMSHelper.CMSContext.CurrentUser.IsEditor in Kentico 8?
Something like this would work:
CMS.Membership.UserPrivilegeLevelEnum level = CMS.Membership.MembershipContext.AuthenticatedUser.GetPrivilegeLevel(); if (level == CMS.Membership.UserPrivilegeLevelEnum.Editor) { // do your work here }
I've already found it but thank you for quick reply :)
Please, sign in to be able to submit a new answer.