Answered by:
Change user Business unit

Question
-
HiI want to change business unit of Dynamic CRM 4.0 through programmingCan i get any sample code for this??Any little help will be appreciatedThanks in AdvanceRegardsSohaib QaziWednesday, November 25, 2009 1:55 PM
Answers
-
Hi, Sohaib.
You have to use SetBusinessSystemUserRequest against Execute method of crmservice.
Truth is opened the prepared mind My blog - http://a33ik.blogspot.com- Marked as answer by DavidJennawayMVP, Moderator Tuesday, January 5, 2010 11:51 AM
Wednesday, November 25, 2009 2:16 PMModerator
All replies
-
Hi, Sohaib.
You have to use SetBusinessSystemUserRequest against Execute method of crmservice.
Truth is opened the prepared mind My blog - http://a33ik.blogspot.com- Marked as answer by DavidJennawayMVP, Moderator Tuesday, January 5, 2010 11:51 AM
Wednesday, November 25, 2009 2:16 PMModerator -
Hi Andrythanks
Actually i am not able to get understanding of "Reassign Principal" in that page.How to use it ???Why we have to use it? Is it necessary???Kindly explain itI will be greatly Thankful to youRegardsSohaib QaziThursday, November 26, 2009 7:15 AM -
Hi, Sohaib.
Everything you need for understanding is written in SDK:
You must specify a value for the ReassignPrincipal property. The instances of the entities that had been assigned to the user specified by the UserId property will be assigned to that security principal (user).
Truth is opened the prepared mind My blog - http://a33ik.blogspot.comThursday, November 26, 2009 8:33 AMModerator -
Why you don't look SDK?Friday, November 27, 2009 6:07 AM