<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Elegant SPSite Elevation</title>
	<atom:link href="http://solutionizing.net/2009/01/06/elegant-spsite-elevation/feed/" rel="self" type="application/rss+xml" />
	<link>http://solutionizing.net/2009/01/06/elegant-spsite-elevation/</link>
	<description>Random thoughts on custom development in SharePoint.</description>
	<lastBuildDate>Sat, 12 May 2012 03:45:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Christopher Deweese</title>
		<link>http://solutionizing.net/2009/01/06/elegant-spsite-elevation/#comment-980</link>
		<dc:creator><![CDATA[Christopher Deweese]]></dc:creator>
		<pubDate>Fri, 24 Jun 2011 13:52:13 +0000</pubDate>
		<guid isPermaLink="false">http://solutionizing.net/?p=300#comment-980</guid>
		<description><![CDATA[Keith,

Over 2 years later this post is still helpful :)  Great samples and technique..just used it to fix a nasty problem that was giving us lots of headaches.  Hope to see you at Day of .NET this year!]]></description>
		<content:encoded><![CDATA[<p>Keith,</p>
<p>Over 2 years later this post is still helpful :)  Great samples and technique..just used it to fix a nasty problem that was giving us lots of headaches.  Hope to see you at Day of .NET this year!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EXAM PREP &#171; Kollipara&#39;s space</title>
		<link>http://solutionizing.net/2009/01/06/elegant-spsite-elevation/#comment-904</link>
		<dc:creator><![CDATA[EXAM PREP &#171; Kollipara&#39;s space]]></dc:creator>
		<pubDate>Fri, 24 Dec 2010 14:48:05 +0000</pubDate>
		<guid isPermaLink="false">http://solutionizing.net/?p=300#comment-904</guid>
		<description><![CDATA[[...] using a UserToken: http://solutionizing.net/2009/01/06/elegant-spsite-elevation/ or [...]]]></description>
		<content:encoded><![CDATA[<p>[...] using a UserToken: <a href="http://solutionizing.net/2009/01/06/elegant-spsite-elevation/" rel="nofollow">http://solutionizing.net/2009/01/06/elegant-spsite-elevation/</a> or [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://solutionizing.net/2009/01/06/elegant-spsite-elevation/#comment-718</link>
		<dc:creator><![CDATA[Daniel]]></dc:creator>
		<pubDate>Fri, 29 Oct 2010 17:20:59 +0000</pubDate>
		<guid isPermaLink="false">http://solutionizing.net/?p=300#comment-718</guid>
		<description><![CDATA[Thank you! GetSystemToken saved my ass today!]]></description>
		<content:encoded><![CDATA[<p>Thank you! GetSystemToken saved my ass today!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chinu</title>
		<link>http://solutionizing.net/2009/01/06/elegant-spsite-elevation/#comment-682</link>
		<dc:creator><![CDATA[chinu]]></dc:creator>
		<pubDate>Mon, 26 Jul 2010 19:43:27 +0000</pubDate>
		<guid isPermaLink="false">http://solutionizing.net/?p=300#comment-682</guid>
		<description><![CDATA[I am still getting access denied error while trying to change site quota impersonating systemaccount. When I login as system account the code works. any idea why? I have already setup oweb.allowunsafeupdates to true.]]></description>
		<content:encoded><![CDATA[<p>I am still getting access denied error while trying to change site quota impersonating systemaccount. When I login as system account the code works. any idea why? I have already setup oweb.allowunsafeupdates to true.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Five Important Tests Before You Go Live &#124; SharePoint Magazine</title>
		<link>http://solutionizing.net/2009/01/06/elegant-spsite-elevation/#comment-570</link>
		<dc:creator><![CDATA[Five Important Tests Before You Go Live &#124; SharePoint Magazine]]></dc:creator>
		<pubDate>Fri, 06 Nov 2009 08:45:47 +0000</pubDate>
		<guid isPermaLink="false">http://solutionizing.net/?p=300#comment-570</guid>
		<description><![CDATA[[...] Practices for Elevated Privilege in SharePoint and Elevated Privilege with SPSite by Daniel Larson Elegant SPSite Elevation by Keith [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Practices for Elevated Privilege in SharePoint and Elevated Privilege with SPSite by Daniel Larson Elegant SPSite Elevation by Keith [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SPExLib Release: These Are A Few Of My Favorite Things &#171; Solutionizing .NET</title>
		<link>http://solutionizing.net/2009/01/06/elegant-spsite-elevation/#comment-305</link>
		<dc:creator><![CDATA[SPExLib Release: These Are A Few Of My Favorite Things &#171; Solutionizing .NET]]></dc:creator>
		<pubDate>Mon, 01 Jun 2009 07:22:34 +0000</pubDate>
		<guid isPermaLink="false">http://solutionizing.net/?p=300#comment-305</guid>
		<description><![CDATA[[...] Elegant SPSite Elevation [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Elegant SPSite Elevation [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith Dahlby</title>
		<link>http://solutionizing.net/2009/01/06/elegant-spsite-elevation/#comment-300</link>
		<dc:creator><![CDATA[Keith Dahlby]]></dc:creator>
		<pubDate>Thu, 28 May 2009 19:55:21 +0000</pubDate>
		<guid isPermaLink="false">http://solutionizing.net/?p=300#comment-300</guid>
		<description><![CDATA[The ULS logs (12\LOGS by default) should show you exception details to help pinpoint the error. One &quot;usual suspect&quot; you didn&#039;t list would be a SafeControl entry. Other than that, my first guess would be that your production application pool identity doesn&#039;t have sufficient permissions on the file share.]]></description>
		<content:encoded><![CDATA[<p>The ULS logs (12\LOGS by default) should show you exception details to help pinpoint the error. One &#8220;usual suspect&#8221; you didn&#8217;t list would be a SafeControl entry. Other than that, my first guess would be that your production application pool identity doesn&#8217;t have sufficient permissions on the file share.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: plissskin</title>
		<link>http://solutionizing.net/2009/01/06/elegant-spsite-elevation/#comment-299</link>
		<dc:creator><![CDATA[plissskin]]></dc:creator>
		<pubDate>Thu, 28 May 2009 18:38:44 +0000</pubDate>
		<guid isPermaLink="false">http://solutionizing.net/?p=300#comment-299</guid>
		<description><![CDATA[djeeg, I am using your method of the delegate RunWithElevatedPrivileges in a WebPart that does UNC file access to build a explorer type tree in the web part.  It deploys and works fine on our test WSS 3.0 server farm, but when I deploy to our production farm, it seems to deploy and install normally.  But when you try to add the web part to any page you  get the import error message (&quot;Cannot import  web part&quot;).  Any ideas on why?  I have beat myself to death on the usual suspects, Version number, public key, is the dll in the GAC, etc.  It seems to be something about the RunWithElevatedPrivileges.]]></description>
		<content:encoded><![CDATA[<p>djeeg, I am using your method of the delegate RunWithElevatedPrivileges in a WebPart that does UNC file access to build a explorer type tree in the web part.  It deploys and works fine on our test WSS 3.0 server farm, but when I deploy to our production farm, it seems to deploy and install normally.  But when you try to add the web part to any page you  get the import error message (&#8220;Cannot import  web part&#8221;).  Any ideas on why?  I have beat myself to death on the usual suspects, Version number, public key, is the dll in the GAC, etc.  It seems to be something about the RunWithElevatedPrivileges.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: More SharePoint Higher-Order Functions &#171; Solutionizing .NET</title>
		<link>http://solutionizing.net/2009/01/06/elegant-spsite-elevation/#comment-238</link>
		<dc:creator><![CDATA[More SharePoint Higher-Order Functions &#171; Solutionizing .NET]]></dc:creator>
		<pubDate>Thu, 19 Mar 2009 06:40:15 +0000</pubDate>
		<guid isPermaLink="false">http://solutionizing.net/?p=300#comment-238</guid>
		<description><![CDATA[[...] Elegant SPSite Elevation [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Elegant SPSite Elevation [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith Dahlby</title>
		<link>http://solutionizing.net/2009/01/06/elegant-spsite-elevation/#comment-222</link>
		<dc:creator><![CDATA[Keith Dahlby]]></dc:creator>
		<pubDate>Wed, 25 Feb 2009 21:36:13 +0000</pubDate>
		<guid isPermaLink="false">http://solutionizing.net/?p=300#comment-222</guid>
		<description><![CDATA[djeeg ~

Judging by the lack of web.AllowUnsafeUpdates, I&#039;m guessing you tried that from a console application rather than in a web context. If the current process doesn&#039;t use impersonation (console app, stsadm, timer job), RWEP does nothing, which is why you would see the context user as the creator.

To see the real difference between the two methods, stick your code in a webpart and set title to Environment.Username. The RWEP block will show the app pool username, the other will show the current user, and both items will be created by System Account.

Cheers ~
Keith]]></description>
		<content:encoded><![CDATA[<p>djeeg ~</p>
<p>Judging by the lack of web.AllowUnsafeUpdates, I&#8217;m guessing you tried that from a console application rather than in a web context. If the current process doesn&#8217;t use impersonation (console app, stsadm, timer job), RWEP does nothing, which is why you would see the context user as the creator.</p>
<p>To see the real difference between the two methods, stick your code in a webpart and set title to Environment.Username. The RWEP block will show the app pool username, the other will show the current user, and both items will be created by System Account.</p>
<p>Cheers ~<br />
Keith</p>
]]></content:encoded>
	</item>
</channel>
</rss>

