<?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/"
		>
<channel>
	<title>Comments on: SPSecurity.RunWithElevatedPrivileges and Access Denied error on event receiver</title>
	<atom:link href="http://www.sharepointboris.net/2009/04/spsecurityrunwithelevatedprivileges-and-access-denied-error-on-event-receiver/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sharepointboris.net/2009/04/spsecurityrunwithelevatedprivileges-and-access-denied-error-on-event-receiver/</link>
	<description>and Boris Gomiunik</description>
	<lastBuildDate>Tue, 07 Feb 2012 12:17:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Siva</title>
		<link>http://www.sharepointboris.net/2009/04/spsecurityrunwithelevatedprivileges-and-access-denied-error-on-event-receiver/#comment-462</link>
		<dc:creator>Siva</dc:creator>
		<pubDate>Fri, 20 May 2011 23:45:58 +0000</pubDate>
		<guid isPermaLink="false">http://boris.gomiunik.net/2009/04/spsecurityrunwithelevatedprivileges-and-access-denied-error-on-event-receiver/#comment-462</guid>
		<description>Thank you very Much It really saved me lot of time. You are Genius</description>
		<content:encoded><![CDATA[<p>Thank you very Much It really saved me lot of time. You are Genius</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris&#38;Randy</title>
		<link>http://www.sharepointboris.net/2009/04/spsecurityrunwithelevatedprivileges-and-access-denied-error-on-event-receiver/#comment-461</link>
		<dc:creator>Chris&#38;Randy</dc:creator>
		<pubDate>Tue, 25 Jan 2011 17:16:21 +0000</pubDate>
		<guid isPermaLink="false">http://boris.gomiunik.net/2009/04/spsecurityrunwithelevatedprivileges-and-access-denied-error-on-event-receiver/#comment-461</guid>
		<description>Your my hero. Thanks :)</description>
		<content:encoded><![CDATA[<p>Your my hero. Thanks <img src='http://www.sharepointboris.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mete</title>
		<link>http://www.sharepointboris.net/2009/04/spsecurityrunwithelevatedprivileges-and-access-denied-error-on-event-receiver/#comment-460</link>
		<dc:creator>mete</dc:creator>
		<pubDate>Fri, 14 Jan 2011 08:49:50 +0000</pubDate>
		<guid isPermaLink="false">http://boris.gomiunik.net/2009/04/spsecurityrunwithelevatedprivileges-and-access-denied-error-on-event-receiver/#comment-460</guid>
		<description>I&#039;m having the same issue on Sharepoint 2010 and this solution doesn&#039;t work for it. Any ideas?</description>
		<content:encoded><![CDATA[<p>I&#8217;m having the same issue on Sharepoint 2010 and this solution doesn&#8217;t work for it. Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Boris Gomiunik</title>
		<link>http://www.sharepointboris.net/2009/04/spsecurityrunwithelevatedprivileges-and-access-denied-error-on-event-receiver/#comment-459</link>
		<dc:creator>Boris Gomiunik</dc:creator>
		<pubDate>Wed, 17 Nov 2010 20:08:22 +0000</pubDate>
		<guid isPermaLink="false">http://boris.gomiunik.net/2009/04/spsecurityrunwithelevatedprivileges-and-access-denied-error-on-event-receiver/#comment-459</guid>
		<description>You have to declare a private _properties variable - before the public override void ... add the
&lt;code&gt;private SPItemEventProperties _properties;&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>You have to declare a private _properties variable &#8211; before the public override void &#8230; add the<br />
<code>private SPItemEventProperties _properties;</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Venkatesh</title>
		<link>http://www.sharepointboris.net/2009/04/spsecurityrunwithelevatedprivileges-and-access-denied-error-on-event-receiver/#comment-458</link>
		<dc:creator>Venkatesh</dc:creator>
		<pubDate>Wed, 22 Sep 2010 09:17:18 +0000</pubDate>
		<guid isPermaLink="false">http://boris.gomiunik.net/2009/04/spsecurityrunwithelevatedprivileges-and-access-denied-error-on-event-receiver/#comment-458</guid>
		<description>Hi,
I tried this:
   public override void ItemAdded(SPItemEventProperties properties)
        {
            base.ItemAdded(properties);
            _properties = properties;
            SPSecurity.RunWithElevatedPrivileges(FunctionName);
        }

I am getting _properties does not exist.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I tried this:<br />
   public override void ItemAdded(SPItemEventProperties properties)<br />
        {<br />
            base.ItemAdded(properties);<br />
            _properties = properties;<br />
            SPSecurity.RunWithElevatedPrivileges(FunctionName);<br />
        }</p>
<p>I am getting _properties does not exist.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Smith</title>
		<link>http://www.sharepointboris.net/2009/04/spsecurityrunwithelevatedprivileges-and-access-denied-error-on-event-receiver/#comment-457</link>
		<dc:creator>Bob Smith</dc:creator>
		<pubDate>Tue, 14 Sep 2010 12:34:42 +0000</pubDate>
		<guid isPermaLink="false">http://boris.gomiunik.net/2009/04/spsecurityrunwithelevatedprivileges-and-access-denied-error-on-event-receiver/#comment-457</guid>
		<description>Your my hero. Thanks</description>
		<content:encoded><![CDATA[<p>Your my hero. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gözde</title>
		<link>http://www.sharepointboris.net/2009/04/spsecurityrunwithelevatedprivileges-and-access-denied-error-on-event-receiver/#comment-456</link>
		<dc:creator>gözde</dc:creator>
		<pubDate>Wed, 04 Aug 2010 09:46:43 +0000</pubDate>
		<guid isPermaLink="false">http://boris.gomiunik.net/2009/04/spsecurityrunwithelevatedprivileges-and-access-denied-error-on-event-receiver/#comment-456</guid>
		<description>thank you very much!..It solved my problem.</description>
		<content:encoded><![CDATA[<p>thank you very much!..It solved my problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ehaze</title>
		<link>http://www.sharepointboris.net/2009/04/spsecurityrunwithelevatedprivileges-and-access-denied-error-on-event-receiver/#comment-455</link>
		<dc:creator>ehaze</dc:creator>
		<pubDate>Wed, 09 Jun 2010 21:40:45 +0000</pubDate>
		<guid isPermaLink="false">http://boris.gomiunik.net/2009/04/spsecurityrunwithelevatedprivileges-and-access-denied-error-on-event-receiver/#comment-455</guid>
		<description>Thank you!
wish i would have found this post 8 hours ago...</description>
		<content:encoded><![CDATA[<p>Thank you!<br />
wish i would have found this post 8 hours ago&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KevinHou</title>
		<link>http://www.sharepointboris.net/2009/04/spsecurityrunwithelevatedprivileges-and-access-denied-error-on-event-receiver/#comment-454</link>
		<dc:creator>KevinHou</dc:creator>
		<pubDate>Fri, 21 May 2010 21:27:01 +0000</pubDate>
		<guid isPermaLink="false">http://boris.gomiunik.net/2009/04/spsecurityrunwithelevatedprivileges-and-access-denied-error-on-event-receiver/#comment-454</guid>
		<description>Awesome!  Worked like a champ.  How did you discover this?  Was this documented somewhere.</description>
		<content:encoded><![CDATA[<p>Awesome!  Worked like a champ.  How did you discover this?  Was this documented somewhere.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phil shisbey</title>
		<link>http://www.sharepointboris.net/2009/04/spsecurityrunwithelevatedprivileges-and-access-denied-error-on-event-receiver/#comment-453</link>
		<dc:creator>phil shisbey</dc:creator>
		<pubDate>Mon, 12 Apr 2010 19:01:40 +0000</pubDate>
		<guid isPermaLink="false">http://boris.gomiunik.net/2009/04/spsecurityrunwithelevatedprivileges-and-access-denied-error-on-event-receiver/#comment-453</guid>
		<description>You&#039;re a genius. Thanks!</description>
		<content:encoded><![CDATA[<p>You&#8217;re a genius. Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

