<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Enumerating thru User Profiles</title><link>http://blogs.technet.com/chris_hernandez/archive/2007/10/04/enumerating-thru-user-profiles.aspx</link><description>SharePoint Server allows user profile data to be imported from various sources such as the Active Directory, LDAP, and using a Business Data Catalog (BDC) connection to almost any data source that contains user info. There may be a need to enumerate thru</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>GadgetGadget.info - Gadgets on the web &amp;raquo; Enumerating thru User Profiles</title><link>http://blogs.technet.com/chris_hernandez/archive/2007/10/04/enumerating-thru-user-profiles.aspx#2108861</link><pubDate>Thu, 04 Oct 2007 22:28:52 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2108861</guid><dc:creator>GadgetGadget.info - Gadgets on the web » Enumerating thru User Profiles</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.gadgetgadget.info/?p=92158"&gt;http://www.gadgetgadget.info/?p=92158&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Enumerating thru User Profiles</title><link>http://blogs.technet.com/chris_hernandez/archive/2007/10/04/enumerating-thru-user-profiles.aspx#3136334</link><pubDate>Tue, 14 Oct 2008 15:18:38 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3136334</guid><dc:creator>SchauDK</dc:creator><description>&lt;p&gt;UserProfileManager implements IEnumerable&lt;/p&gt;
&lt;p&gt;using (SPSite site = new SPSite(&amp;quot;&lt;a rel="nofollow" target="_new" href="http://localhost&amp;quot;"&gt;http://localhost&amp;quot;&lt;/a&gt;))&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ServerContext context = ServerContext.GetContext(site);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;profileManager = new UserProfileManager(context);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;foreach (UserProfile user in profileManager)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
</description></item></channel></rss>