<?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: Getting ModifyUserPropertyByAccountName to work</title>
	<atom:link href="http://merill.net/2008/02/getting-modifyuserpropertybyaccountname-to-work/feed/" rel="self" type="application/rss+xml" />
	<link>http://merill.net/2008/02/getting-modifyuserpropertybyaccountname-to-work/</link>
	<description>Thinking in .NET</description>
	<lastBuildDate>Wed, 10 Mar 2010 23:23:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: praveen</title>
		<link>http://merill.net/2008/02/getting-modifyuserpropertybyaccountname-to-work/comment-page-1/#comment-659</link>
		<dc:creator>praveen</dc:creator>
		<pubDate>Mon, 26 Oct 2009 08:22:50 +0000</pubDate>
		<guid isPermaLink="false">/post/2008/02/Getting-ModifyUserPropertyByAccountName-to-work.aspx#comment-659</guid>
		<description>Thanks merill,

Iam trying to develop an custom aspx form to update sharepoint user profile properties.</description>
		<content:encoded><![CDATA[<p>Thanks merill,</p>
<p>Iam trying to develop an custom aspx form to update sharepoint user profile properties.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: merill</title>
		<link>http://merill.net/2008/02/getting-modifyuserpropertybyaccountname-to-work/comment-page-1/#comment-658</link>
		<dc:creator>merill</dc:creator>
		<pubDate>Mon, 26 Oct 2009 07:45:26 +0000</pubDate>
		<guid isPermaLink="false">/post/2008/02/Getting-ModifyUserPropertyByAccountName-to-work.aspx#comment-658</guid>
		<description>Hi Praveen,

Unfortunately I didn&#039;t have a chance to upload the project and don&#039;t seem to have the source code with me. But in general the code in the post above does the trick.</description>
		<content:encoded><![CDATA[<p>Hi Praveen,</p>
<p>Unfortunately I didn&#8217;t have a chance to upload the project and don&#8217;t seem to have the source code with me. But in general the code in the post above does the trick.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: praveen</title>
		<link>http://merill.net/2008/02/getting-modifyuserpropertybyaccountname-to-work/comment-page-1/#comment-657</link>
		<dc:creator>praveen</dc:creator>
		<pubDate>Mon, 26 Oct 2009 07:27:20 +0000</pubDate>
		<guid isPermaLink="false">/post/2008/02/Getting-ModifyUserPropertyByAccountName-to-work.aspx#comment-657</guid>
		<description>hi,

iam unable to find the source code in the msdn site mentioned by you.Will you please share the code to my mail.

Thanks,
Praveen</description>
		<content:encoded><![CDATA[<p>hi,</p>
<p>iam unable to find the source code in the msdn site mentioned by you.Will you please share the code to my mail.</p>
<p>Thanks,<br />
Praveen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mark</title>
		<link>http://merill.net/2008/02/getting-modifyuserpropertybyaccountname-to-work/comment-page-1/#comment-640</link>
		<dc:creator>mark</dc:creator>
		<pubDate>Mon, 12 Oct 2009 19:04:43 +0000</pubDate>
		<guid isPermaLink="false">/post/2008/02/Getting-ModifyUserPropertyByAccountName-to-work.aspx#comment-640</guid>
		<description>can you convert this code in javascript?
I been trying lots of code tweaking and still not been able to figure out the right code for this.


a sample of this is very much appreciated</description>
		<content:encoded><![CDATA[<p>can you convert this code in javascript?<br />
I been trying lots of code tweaking and still not been able to figure out the right code for this.</p>
<p>a sample of this is very much appreciated</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charftong</title>
		<link>http://merill.net/2008/02/getting-modifyuserpropertybyaccountname-to-work/comment-page-1/#comment-514</link>
		<dc:creator>Charftong</dc:creator>
		<pubDate>Tue, 23 Jun 2009 18:31:49 +0000</pubDate>
		<guid isPermaLink="false">/post/2008/02/Getting-ModifyUserPropertyByAccountName-to-work.aspx#comment-514</guid>
		<description>Kudos!!  This saved me some valuable time.  Good ole MSDN Documentation.</description>
		<content:encoded><![CDATA[<p>Kudos!!  This saved me some valuable time.  Good ole MSDN Documentation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robyn</title>
		<link>http://merill.net/2008/02/getting-modifyuserpropertybyaccountname-to-work/comment-page-1/#comment-43</link>
		<dc:creator>Robyn</dc:creator>
		<pubDate>Tue, 24 Jun 2008 07:49:42 +0000</pubDate>
		<guid isPermaLink="false">/post/2008/02/Getting-ModifyUserPropertyByAccountName-to-work.aspx#comment-43</guid>
		<description>What is interesting is that it still appears to ignore the privacy setting:

// create sharepoint user profile instance
                UserProfileService MySPService = GetSPUserProfileService();

                // retrieve 
                PropertyData[] fieldData = new PropertyData[1];
                fieldData[0] = new PropertyData();
                fieldData[0].Name = fieldName;
                if (privacyValue != Privacy.NotSet)
                {
                    fieldData[0].Privacy = privacyValue;
                }
                fieldData[0].Values = new ValueData[1];
                fieldData[0].Values[0] = new ValueData();
                fieldData[0].Values[0].Value = fieldValue;
                fieldData[0].IsValueChanged = true;
                MySPService.ModifyUserPropertyByAccountName(accountName, fieldData);</description>
		<content:encoded><![CDATA[<p>What is interesting is that it still appears to ignore the privacy setting:</p>
<p>// create sharepoint user profile instance<br />
                UserProfileService MySPService = GetSPUserProfileService();</p>
<p>                // retrieve<br />
                PropertyData[] fieldData = new PropertyData[1];<br />
                fieldData[0] = new PropertyData();<br />
                fieldData[0].Name = fieldName;<br />
                if (privacyValue != Privacy.NotSet)<br />
                {<br />
                    fieldData[0].Privacy = privacyValue;<br />
                }<br />
                fieldData[0].Values = new ValueData[1];<br />
                fieldData[0].Values[0] = new ValueData();<br />
                fieldData[0].Values[0].Value = fieldValue;<br />
                fieldData[0].IsValueChanged = true;<br />
                MySPService.ModifyUserPropertyByAccountName(accountName, fieldData);</p>
]]></content:encoded>
	</item>
</channel>
</rss>
