<?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: Filtering the SharePoint People Picker Results</title>
	<atom:link href="http://kipper.org.uk/index.php/2009/07/filtering-the-sharepoint-people-picker-results/feed/" rel="self" type="application/rss+xml" />
	<link>http://kipper.org.uk/index.php/2009/07/filtering-the-sharepoint-people-picker-results/</link>
	<description>Technical notes for tricky situations</description>
	<lastBuildDate>Tue, 02 Mar 2010 14:28:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Rob</title>
		<link>http://kipper.org.uk/index.php/2009/07/filtering-the-sharepoint-people-picker-results/comment-page-1/#comment-299</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Tue, 02 Mar 2010 14:28:30 +0000</pubDate>
		<guid isPermaLink="false">http://kipper.org.uk/?p=93#comment-299</guid>
		<description>Another option, again limited to site collections, is to specify the OU for users for the site:

stsadm -o setsiteuseraccountdirectorypath -path &quot;CN=Sales,DC=ContosoCorp,DC=local&quot; –url http://server_name

which is great for locking down the users with access to a particular site.  Sorry I can&#039;t help with subsites though!</description>
		<content:encoded><![CDATA[<p>Another option, again limited to site collections, is to specify the OU for users for the site:</p>
<p>stsadm -o setsiteuseraccountdirectorypath -path &#8220;CN=Sales,DC=ContosoCorp,DC=local&#8221; –url <a href="http://server_name" rel="nofollow">http://server_name</a></p>
<p>which is great for locking down the users with access to a particular site.  Sorry I can&#8217;t help with subsites though!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://kipper.org.uk/index.php/2009/07/filtering-the-sharepoint-people-picker-results/comment-page-1/#comment-298</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Tue, 02 Mar 2010 11:26:15 +0000</pubDate>
		<guid isPermaLink="false">http://kipper.org.uk/?p=93#comment-298</guid>
		<description>&lt;a href=&quot;#comment-295&quot; rel=&quot;nofollow&quot;&gt;@Greg &lt;/a&gt; 
Actually, Greg, on reflection, the situation is even worse for you than I first thought!  The PeoplePicker actually returns users from two locations - from a direct query against Active Directory (or whatever directory services you&#039;ve set up), and against users that have actually &quot;hit&quot; the site collection ... not subsite.  Even if you wrote a specific LDAP query that managed to overcome the issue, you&#039;ll still have incorrect users returned, I believe :(

A redesign based on site collections, writing a custom plugin to replace the people picker, or simply locking down the entire people picker from external access would seem to be your only options, in my opinion, of course.</description>
		<content:encoded><![CDATA[<p><a href="#comment-295" rel="nofollow">@Greg </a><br />
Actually, Greg, on reflection, the situation is even worse for you than I first thought!  The PeoplePicker actually returns users from two locations &#8211; from a direct query against Active Directory (or whatever directory services you&#8217;ve set up), and against users that have actually &#8220;hit&#8221; the site collection &#8230; not subsite.  Even if you wrote a specific LDAP query that managed to overcome the issue, you&#8217;ll still have incorrect users returned, I believe <img src='http://kipper.org.uk/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>A redesign based on site collections, writing a custom plugin to replace the people picker, or simply locking down the entire people picker from external access would seem to be your only options, in my opinion, of course.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://kipper.org.uk/index.php/2009/07/filtering-the-sharepoint-people-picker-results/comment-page-1/#comment-297</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Tue, 02 Mar 2010 11:07:36 +0000</pubDate>
		<guid isPermaLink="false">http://kipper.org.uk/?p=93#comment-297</guid>
		<description>&lt;a href=&quot;#comment-295&quot; rel=&quot;nofollow&quot;&gt;@Greg &lt;/a&gt; 
Bad news, Greg. The security model (as relates to the peeople picker) is based around the Site Collection, not subsites. If you use site collections, then

stsadm -o setproperty –url http:// –pn peoplepicker-onlysearchwithinsitecollection –pv yes

would do exactly what you need. I’m not an LDAP specialist, and altering the query will affect the entire web application, so you need to be careful, but it might be possible to write custom LDAP scripts to return an appropriate subset of users with either the custom filter or custom query options, depending on your directory services configuration.

Out of the tin, SharePoint seems designed to work with Site Collections being the security scope, though, not subsites within them. Sorry for the negative response – I think you’d be better off working with site collections for customers, not subsites.</description>
		<content:encoded><![CDATA[<p><a href="#comment-295" rel="nofollow">@Greg </a><br />
Bad news, Greg. The security model (as relates to the peeople picker) is based around the Site Collection, not subsites. If you use site collections, then</p>
<p>stsadm -o setproperty –url http:// –pn peoplepicker-onlysearchwithinsitecollection –pv yes</p>
<p>would do exactly what you need. I’m not an LDAP specialist, and altering the query will affect the entire web application, so you need to be careful, but it might be possible to write custom LDAP scripts to return an appropriate subset of users with either the custom filter or custom query options, depending on your directory services configuration.</p>
<p>Out of the tin, SharePoint seems designed to work with Site Collections being the security scope, though, not subsites within them. Sorry for the negative response – I think you’d be better off working with site collections for customers, not subsites.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>http://kipper.org.uk/index.php/2009/07/filtering-the-sharepoint-people-picker-results/comment-page-1/#comment-295</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Mon, 01 Mar 2010 18:47:13 +0000</pubDate>
		<guid isPermaLink="false">http://kipper.org.uk/?p=93#comment-295</guid>
		<description>&lt;a href=&quot;#comment-170&quot; rel=&quot;nofollow&quot;&gt;@Rob &lt;/a&gt; 
I have an issue where we are using subsite for different customers. When people participate on these separate subsites they can view all contacts (all of our customers) when searching using the people picker. Very Bad. Is there a way to only return results based on who has access ot that subsite?

Thanks
Greg</description>
		<content:encoded><![CDATA[<p><a href="#comment-170" rel="nofollow">@Rob </a><br />
I have an issue where we are using subsite for different customers. When people participate on these separate subsites they can view all contacts (all of our customers) when searching using the people picker. Very Bad. Is there a way to only return results based on who has access ot that subsite?</p>
<p>Thanks<br />
Greg</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://kipper.org.uk/index.php/2009/07/filtering-the-sharepoint-people-picker-results/comment-page-1/#comment-170</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Fri, 06 Nov 2009 15:37:12 +0000</pubDate>
		<guid isPermaLink="false">http://kipper.org.uk/?p=93#comment-170</guid>
		<description>Viraj - If you want to carry out totally custom queries based on lists with SharePoint itself, you&#039;ll need to write a custom component to return the user list, not the People Picker.  By its nature, the People Picker is designed to work with SharePoint and Active Directory Security - users assigned to the Site Collection, or in certain groups in AD, for example.  Writing a dedicated webpart to return people for security based on lists should be pretty straightforward, but its a task I&#039;d hand over to my development team.</description>
		<content:encoded><![CDATA[<p>Viraj &#8211; If you want to carry out totally custom queries based on lists with SharePoint itself, you&#8217;ll need to write a custom component to return the user list, not the People Picker.  By its nature, the People Picker is designed to work with SharePoint and Active Directory Security &#8211; users assigned to the Site Collection, or in certain groups in AD, for example.  Writing a dedicated webpart to return people for security based on lists should be pretty straightforward, but its a task I&#8217;d hand over to my development team.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Viraj Vashi</title>
		<link>http://kipper.org.uk/index.php/2009/07/filtering-the-sharepoint-people-picker-results/comment-page-1/#comment-169</link>
		<dc:creator>Viraj Vashi</dc:creator>
		<pubDate>Fri, 06 Nov 2009 14:33:03 +0000</pubDate>
		<guid isPermaLink="false">http://kipper.org.uk/?p=93#comment-169</guid>
		<description>I have one query related with people picker.
I want to allow to search only those users who are assigned for respective project in people picker.
I am explaining you my requirement in details:
I have tow custom lists.
One is CustomList_Project:
In CustomList_Project custom list, i have following columns:
1) Project name: Textbox(User enter project name)
2) Assigned To: People picker(User assigned for this project)

Second is: CustomList_Second
1) Project name(which is lookup control and whose values come from CustomList_Project(which is custom list)
2) GetProjectOwner : People picker: When i select project name then it would only allow to search those users who have assigned for this project.
(By default it is comming all users)

Regards,
Viraj Vashi</description>
		<content:encoded><![CDATA[<p>I have one query related with people picker.<br />
I want to allow to search only those users who are assigned for respective project in people picker.<br />
I am explaining you my requirement in details:<br />
I have tow custom lists.<br />
One is CustomList_Project:<br />
In CustomList_Project custom list, i have following columns:<br />
1) Project name: Textbox(User enter project name)<br />
2) Assigned To: People picker(User assigned for this project)</p>
<p>Second is: CustomList_Second<br />
1) Project name(which is lookup control and whose values come from CustomList_Project(which is custom list)<br />
2) GetProjectOwner : People picker: When i select project name then it would only allow to search those users who have assigned for this project.<br />
(By default it is comming all users)</p>
<p>Regards,<br />
Viraj Vashi</p>
]]></content:encoded>
	</item>
</channel>
</rss>
