tag:blogger.com,1999:blog-7125820631218721012.post1226404767898418227..comments2023-06-29T15:29:32.150+01:00Comments on Martin on .Net: Elevating Ektron User Permissions SafelyMartinJarvishttp://www.blogger.com/profile/01826075571790729681noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-7125820631218721012.post-16177245134984167412010-07-21T01:29:34.801+01:002010-07-21T01:29:34.801+01:00This method isn't so great for impersonating o...This method isn't so great for impersonating other workarea users. For that I've created the ImpersonationScope!<br /><br />http://bit.ly/cBJETcMartinJarvishttps://www.blogger.com/profile/01826075571790729681noreply@blogger.comtag:blogger.com,1999:blog-7125820631218721012.post-85680798489778358662010-04-20T21:16:15.486+01:002010-04-20T21:16:15.486+01:00I've found that the actual implementation deta...I've found that the actual implementation detail can vary between the similar objects - usually in the amount of detail populated within objects. It's usually a case of trying the alternatives to ensure you get what you need.<br /><br />The class provided will work with most of the API classes as there's an overload to accept an EkRequestInformation class - as well as specifc user ids.MartinJarvishttps://www.blogger.com/profile/01826075571790729681noreply@blogger.comtag:blogger.com,1999:blog-7125820631218721012.post-54811025702745969612010-04-19T21:06:26.216+01:002010-04-19T21:06:26.216+01:00Hey Martin,
Excellent post - not just on implemen...Hey Martin,<br /><br />Excellent post - not just on implementing Ektron impersonation safely, but the 'using' statement and disposable objects as well.<br /><br />I do wonder why you would recommend impersonation when current APIs run as InternalAdmin already. If you want to use elevated API privileges, I would recommend using Ektron.Cms.API.Content.Content rather than Ektron.Cms.ContentAPI. Would you not agree?eGandalfhttps://www.blogger.com/profile/14337753264862698068noreply@blogger.com