Hi.. I have this coding below return mTreeProvider ?? (mTreeProvider = new TreeProvider(CMSContext.CurrentUser));
the CMSContext is broken down now inside the Kentico 8 and which namespace should i use? I have already tried the IUserInfo but it is given me error.
Hi,
you need to change CMSContext.CurrentUser > CMS.Membership.MembershipContext.AuthenticatedUser
CMSContext.CurrentUser
CMS.Membership.MembershipContext.AuthenticatedUser
@No True, you've had several questions like this, I'd suggest checking out the documentation regarding upgrading from 7.x -> 8.x and also check out the API Changes. These should give you the answers you're looking for without having to wait for someone.
Please, sign in to be able to submit a new answer.