<?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: SPException: SharePoint cannot find the user &#8211; SharePoint SPWeb.EnsureUser() and a Custom MembershipProvider</title>
	<atom:link href="http://www.calvinirwin.net/2009/08/05/sharepoint-spweb-ensureuser-and-thecustom-membership-provider/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.calvinirwin.net/2009/08/05/sharepoint-spweb-ensureuser-and-thecustom-membership-provider/</link>
	<description>Evil beware!</description>
	<lastBuildDate>Sun, 05 Feb 2012 12:20:37 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: dotNetFollower</title>
		<link>http://www.calvinirwin.net/2009/08/05/sharepoint-spweb-ensureuser-and-thecustom-membership-provider/comment-page-1/#comment-740</link>
		<dc:creator>dotNetFollower</dc:creator>
		<pubDate>Tue, 16 Aug 2011 03:00:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.calvinirwin.net/?p=90#comment-740</guid>
		<description>Hello!
Very nice article. I worked with EnsureUser and found out that there are a few other inconveniences. For example, we need almost always to use elevated privileges to deal with EnsureUser, otherwise exception will be thrown. Or for example, if user doesn&#039;t exist in user collection, it will be tried to add to this collection, but this means that spWeb object will be modified and it&#039;s required AllowUnsafeUpdates = true. Eventually, I&#039;ve developed a small method-wrapper for EnsureUser. It&#039;s shown in my blog - &lt;a href=&quot;http://dotnetfollower.com/wordpress/2011/05/sharepoint-wrapper-over-ensureuser/&quot; rel=&quot;nofollow&quot;&gt;http://dotnetfollower.com/wordpress/2011/05/sharepoint-wrapper-over-ensureuser/&lt;/a&gt;
Thanks!</description>
		<content:encoded><![CDATA[<p>Hello!<br />
Very nice article. I worked with EnsureUser and found out that there are a few other inconveniences. For example, we need almost always to use elevated privileges to deal with EnsureUser, otherwise exception will be thrown. Or for example, if user doesn&#8217;t exist in user collection, it will be tried to add to this collection, but this means that spWeb object will be modified and it&#8217;s required AllowUnsafeUpdates = true. Eventually, I&#8217;ve developed a small method-wrapper for EnsureUser. It&#8217;s shown in my blog &#8211; <a href="http://dotnetfollower.com/wordpress/2011/05/sharepoint-wrapper-over-ensureuser/" rel="nofollow">http://dotnetfollower.com/wordpress/2011/05/sharepoint-wrapper-over-ensureuser/</a><br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sampath</title>
		<link>http://www.calvinirwin.net/2009/08/05/sharepoint-spweb-ensureuser-and-thecustom-membership-provider/comment-page-1/#comment-21</link>
		<dc:creator>sampath</dc:creator>
		<pubDate>Wed, 26 Aug 2009 14:53:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.calvinirwin.net/?p=90#comment-21</guid>
		<description>Thanks a lot for the post. It saved me a lot of time yesterday.</description>
		<content:encoded><![CDATA[<p>Thanks a lot for the post. It saved me a lot of time yesterday.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

