After upgrade to kentico 8, unable to logon to CMSDesk

Shailesh Kumar asked on June 29, 2015 11:22


After upgrade to Kentico 8, when I am trying to logon to cmsdesk my existing way to set a user is not working.

CMSContext.SetCurrentUser(new CurrentUserInfo(user, true));

Please suggest what should I do to enable logon to CMSDesk.


Correct Answer

Shailesh Kumar answered on June 29, 2015 13:33

Thanks Martin,

As you sent the mail regarding this, I would like to share your quotes.

The reason is that because of some API Changes in Kentico 8, CMSContext doesn't exist anymore.



was moved to


For more details regarding API changes in Kentico 8, please read this article:


1 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.