kentico_radekm
-
10/24/2011 2:13:44 AM
RE:How to Login CMSDesk directly without taking User ID and Password?
Hello.
You need just to pass username. Not password, as authentication itself is done in some inner methods of code you call. If you navigate to code I mentioned, you can see you need just a two parameters for this method, called from CMSContext class: username and bool variable – createPersistantCookie.
As for place where to call it, well, it can be any page / control where CMSContext class is accessible and the file is secured, so un-authorized user cannot access it. This security of your project folder is up to you.
Best Regards, Radek Macalik
|