<?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: Returning approved SharePoint list items from a console application</title>
	<atom:link href="http://www.sharepointconfig.com/2007/11/returning-approved-sharepoint-list-items-from-a-console-application/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sharepointconfig.com/2007/11/returning-approved-sharepoint-list-items-from-a-console-application/</link>
	<description>Ari Bakker&#039;s thoughts on customising and configuring SharePoint 2007 and 2010</description>
	<lastBuildDate>Thu, 02 Feb 2012 22:08:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Corey Cole</title>
		<link>http://www.sharepointconfig.com/2007/11/returning-approved-sharepoint-list-items-from-a-console-application/comment-page-1/#comment-146</link>
		<dc:creator>Corey Cole</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://ari.provoke.co.nz/Lists/Posts/ViewPost.aspx?ID=42#comment-146</guid>
		<description>Becky,

          I believe he&#039;s using impersonation to replicate the security trimming that you get by default with the web UI.

          I&#039;ve been working on this via web services and I just throw this in my CAML query -- no impersonation necessary:

          &lt;Where&gt;
          &lt;Eq&gt;
          &lt;FieldRef Name=&quot;_ModerationStatus&quot; /&gt;
          &lt;Value Type=&quot;ModStat&quot;&gt;Approved&lt;/Value&gt;
          &lt;/Eq&gt;
          &lt;/Where&gt;</description>
		<content:encoded><![CDATA[<p>Becky,</p>
<p>          I believe he&#39;s using impersonation to replicate the security trimming that you get by default with the web UI.</p>
<p>          I&#39;ve been working on this via web services and I just throw this in my CAML query &#8212; no impersonation necessary:</p>
<p>          &lt;Where&gt;<br />
          &lt;Eq&gt;<br />
          &lt;FieldRef Name=&quot;_ModerationStatus&quot; /&gt;<br />
          &lt;Value Type=&quot;ModStat&quot;&gt;Approved&lt;/Value&gt;<br />
          &lt;/Eq&gt;<br />
          &lt;/Where&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Becky Isserman</title>
		<link>http://www.sharepointconfig.com/2007/11/returning-approved-sharepoint-list-items-from-a-console-application/comment-page-1/#comment-147</link>
		<dc:creator>Becky Isserman</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://ari.provoke.co.nz/Lists/Posts/ViewPost.aspx?ID=42#comment-147</guid>
		<description>If you run the console application off of Windows Scheduler as the Site Administrator, then you don&#039;t need to use impersonation.  I guess it all depends on what you want to do with the console app.</description>
		<content:encoded><![CDATA[<p>If you run the console application off of Windows Scheduler as the Site Administrator, then you don&#39;t need to use impersonation.  I guess it all depends on what you want to do with the console app.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

