CRM 2011 - set or assign record owner


Just a recap of how to set the record owner or assign a new owner through the sdk.

When creating a record, you don't need to use AssignRequest. Simply set the OwnerId and call SaveChanges of your context.

But if the record already exists, then you must use AssignRequest to assign the record to the new owner.