SharePoint impersonation the COM+ way

A lot is written on SharePoint impersonation.One of my collegues Victor Vogelpoel wrote a whole series of blog posts on this topic with a whole bunch of implementations. Using all his described implementation methods one thing was still not possible: check if a user is in a certain role. You need to become admin to do this check, but impersonation by going back to the application pool account (which is also a SharePoint administrator account) as described by Victor is still not good enough for checking roles. Raphael Londner has a blog post on how to achive a kind of impersonation that should be powerful enough in his weblog post SharePoint impersonation using COM+ Components. I did not check it out yet, but it looks promising. Thanks Rui for pointing this out to me!

No Comments