<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>mylifeinaminute.com &#187; SharePoint User Management</title>
	<atom:link href="http://www.mylifeinaminute.com/tag/sharepoint-user-management/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mylifeinaminute.com</link>
	<description>You can learn a lot in a minute</description>
	<lastBuildDate>Wed, 18 Jan 2012 02:33:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>MySite Redirection and MOSS Service Pack 2</title>
		<link>http://www.mylifeinaminute.com/2010/12/28/mysite-redirection-and-moss-service-pack-2/</link>
		<comments>http://www.mylifeinaminute.com/2010/12/28/mysite-redirection-and-moss-service-pack-2/#comments</comments>
		<pubDate>Tue, 28 Dec 2010 16:31:24 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Sharepoint Server]]></category>
		<category><![CDATA[moss 2007]]></category>
		<category><![CDATA[moss service pack]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint User Management]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=638</guid>
		<description><![CDATA[MOSS 2007 SP2 has a bug fix that it seems a number of people don&#8217;t want. It enables redirection from the userdisp.aspx page in a local site collection to the MySite portal page even when a portal site connection is not configured. Thankfully, a quick feature scoped at the farm level can remedy the situation. [...]]]></description>
			<content:encoded><![CDATA[<p>MOSS 2007 SP2 has a bug fix that it seems a number of people don&#8217;t want. It enables redirection from the userdisp.aspx page in a local site collection to the MySite portal page even when a portal site connection is not configured.</p>
<p>Thankfully, a quick feature scoped at the farm level can remedy the situation. The following feature disables profile redirection and also hides the &#8220;My Site&#8221; global navigation link. Note that this feature is scoped at the Farm level, making it applicable to all web applications/site collections within the farm.</p>
<h3>The feature</h3>
<h4>feature.xml</h4>
<pre class="brush: xml; title: ; notranslate">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;Feature  Id=&quot;6768ca75-6afb-4b70-80e6-7964abf4fb68&quot;
          Title=&quot;Disable MySites Redirection&quot;
          Description=&quot;Disables MySites redirection to person.aspx (pre-SP2 behavior) and removes the My Site global navigation link&quot;
          Version=&quot;12.0.0.0&quot;
          Hidden=&quot;FALSE&quot;
          Scope=&quot;Farm&quot;
          DefaultResourceFile=&quot;core&quot;
          xmlns=&quot;http://schemas.microsoft.com/sharepoint/&quot;&gt;
  &lt;ElementManifests&gt;
    &lt;ElementManifest Location=&quot;elements.xml&quot;/&gt;
  &lt;/ElementManifests&gt;
&lt;/Feature&gt;
</pre>
<h4>elements.xml</h4>
<pre class="brush: xml; title: ; notranslate">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt;
&lt;Elements xmlns=&quot;http://schemas.microsoft.com/sharepoint/&quot;&gt;
    &lt;Control Id=&quot;GlobalSiteLink1&quot; Sequence=&quot;50&quot; ControlSrc=&quot;&quot; /&gt;
    &lt;Control Id=&quot;ProfileRedirection&quot; Sequence=&quot;50&quot; ControlSrc=&quot;&quot;/&gt;
&lt;/Elements&gt;
</pre>
<h4>Reference</h4>
<ul>
<li><a title="How to bypass MySite redirection introduced with the SP2 when you display user details?" href="http://blogs.msdn.com/b/yvan_duhamel/archive/2010/02/08/how-to-bypass-mysite-redirection-introduced-with-the-sp2-when-you-display-user-details.aspx">How to bypass MySite redirection introduced with the SP2 when you display user details?</a></li>
</ul>
<p><map name='google_ad_map_638_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/638?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_638_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=638&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2010%2F12%2F28%2Fmysite-redirection-and-moss-service-pack-2%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2010/12/28/mysite-redirection-and-moss-service-pack-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Users Not Found in People Pickers</title>
		<link>http://www.mylifeinaminute.com/2010/11/12/users-not-found-in-people-pickers/</link>
		<comments>http://www.mylifeinaminute.com/2010/11/12/users-not-found-in-people-pickers/#comments</comments>
		<pubDate>Fri, 12 Nov 2010 18:31:00 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Sharepoint Server]]></category>
		<category><![CDATA[Windows SharePoint Services]]></category>
		<category><![CDATA[moss 2007]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[sharepoint administration]]></category>
		<category><![CDATA[SharePoint Profile Management]]></category>
		<category><![CDATA[sharepoint quirks]]></category>
		<category><![CDATA[SharePoint User Management]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=604</guid>
		<description><![CDATA[Ah yes, the people picker again. I recently inherited an environment where the previous administrator was kind enough to not document anything, especially the items he/she had been playing with in development. When trying to designate a user as a Primary Site Collection Administrator in Central Administration, I was unable to query for subsets of [...]]]></description>
			<content:encoded><![CDATA[<p>Ah yes, the people picker again. I recently inherited an environment where the previous administrator was kind enough to not document anything, especially the items he/she had been playing with in development.</p>
<p>When trying to designate a user as a Primary Site Collection Administrator in Central Administration, I was unable to query for subsets of domain users on a single web application. After checking all of the usual suspects (<a title="Peoplepicker-searchadforests" href="http://technet.microsoft.com/en-us/library/cc263460(office.12).aspx">Peoplepicker-searchadforests</a> I&#8217;m looking at you) with no success, it was off to the not-so-usual suspects.</p>
<p>It turns out the previous admin was kind enough to set the <a title="Peoplepicker-searchadcustomfilter" href="http://technet.microsoft.com/en-us/library/cc263452(office.12).aspx">Peoplepicker-searchadcustomfilter</a> property on the main portal site collection. After setting the property to <em>null</em></p>
<pre class="brush: plain; title: ; notranslate">
stsadm -o setproperty -pn peoplepicker-searchadcustomfilter -pv &quot;&quot; -url [URL]
</pre>
<p>all was once again right with the world. </p>
<p>Now where did I leave my sledgehammer?</p>
<p><map name='google_ad_map_604_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/604?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_604_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=604&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2010%2F11%2F12%2Fusers-not-found-in-people-pickers%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2010/11/12/users-not-found-in-people-pickers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Retrieving User Profile Properties for the Current User</title>
		<link>http://www.mylifeinaminute.com/2008/12/16/retrieving-user-profile-properties-for-the-current-user/</link>
		<comments>http://www.mylifeinaminute.com/2008/12/16/retrieving-user-profile-properties-for-the-current-user/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 16:42:10 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[MSDN]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Sharepoint Server]]></category>
		<category><![CDATA[TechNet]]></category>
		<category><![CDATA[Visual Studio 2005]]></category>
		<category><![CDATA[Visual Studio 2008]]></category>
		<category><![CDATA[Windows SharePoint Services]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[moss 2007]]></category>
		<category><![CDATA[Shared Services Provider]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint Profile Management]]></category>
		<category><![CDATA[SharePoint User Management]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=254</guid>
		<description><![CDATA[Retrieving a user&#8217;s profile properties can be achieved with the following block: Note that this buids on Creating Custom Profile Properties Through Code.]]></description>
			<content:encoded><![CDATA[<p>Retrieving a user&#8217;s profile properties can be achieved with the following block:</p>
<p><span id="more-254"></span></p>
<pre>
<pre class="brush: csharp; title: ; notranslate">
SPSite site = SPContext.GetContext(HttpContext.Current).Site;
            ServerContext serverContext = ServerContext.GetContext(site);

            UserProfileManager profileManager = new UserProfileManager(serverContext);
            UserProfile currentUserProfile = null;

            if (profileManager.UserExists(System.Web.HttpContext.Current.User.Identity.Name))
                currentUserProfile = profileManager.GetUserProfile(System.Web.HttpContext.Current.User.Identity.Name);
            else
                currentUserProfile = profileManager.CreateUserProfile(System.Web.HttpContext.Current.User.Identity.Name);

            string termsOfUseAnswered = (string)currentUserProfile[&quot;TermsOfUseAccepted&quot;].Value;
            string securityQuestion1 = (string)currentUserProfile[&quot;SecurityQuestion1&quot;].Value;
            string securityQuestion2 = (string)currentUserProfile[&quot;SecurityQuestion2&quot;].Value;
            string securityQuestion3 = (string)currentUserProfile[&quot;SecurityQuestion3&quot;].Value;
</pre>
</pre>
<p>Note that this buids on <a href="/2008/12/16/creating-custom-profile-properties-through-code-c/" title="Creating Custom Profile Properties Through Code (C#)">Creating Custom Profile Properties Through Code</a>.</p>
<p><map name='google_ad_map_254_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/254?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_254_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=254&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2008%2F12%2F16%2Fretrieving-user-profile-properties-for-the-current-user%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2008/12/16/retrieving-user-profile-properties-for-the-current-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Filtering Inactive User Profiles From an SSP</title>
		<link>http://www.mylifeinaminute.com/2008/12/16/filtering-inactive-user-profiles-from-an-ssp/</link>
		<comments>http://www.mylifeinaminute.com/2008/12/16/filtering-inactive-user-profiles-from-an-ssp/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 16:15:42 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Sharepoint Server]]></category>
		<category><![CDATA[Windows SharePoint Services]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[moss 2007]]></category>
		<category><![CDATA[Shared Services Provider]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint Profile Management]]></category>
		<category><![CDATA[SharePoint User Management]]></category>
		<category><![CDATA[SSP]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=244</guid>
		<description><![CDATA[To filter inactive Active Directory users from a Share Services Provider, an updated &#8220;User Filter&#8221; is required. The following filter: will automatically skip over inactive domain accounts when profile imports are occurring.]]></description>
			<content:encoded><![CDATA[<p>To filter inactive Active Directory users from a Share Services Provider, an updated &#8220;User Filter&#8221; is required.  The following filter:</p>
<pre>
<pre class="brush: sql; title: ; notranslate">
(&amp;(objectCategory=Person)(objectClass=User)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
</pre>
</pre>
<p>
will automatically skip over inactive domain accounts when profile imports are occurring.</p>
<p><map name='google_ad_map_244_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/244?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_244_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=244&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2008%2F12%2F16%2Ffiltering-inactive-user-profiles-from-an-ssp%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2008/12/16/filtering-inactive-user-profiles-from-an-ssp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Served from: www.mylifeinaminute.com @ 2012-02-07 16:14:47 by W3 Total Cache -->
