OrganizationServiceContextExtensions.SetBusinessSystemUser Method (OrganizationServiceContext, Guid, Guid, EntityReference)


Applies To: Dynamics CRM 2015

Sets the business unit for the specified system user. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client.Messages
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)


public static void SetBusinessSystemUser(
    this OrganizationServiceContext context,
    Guid userId,
    Guid businessId,
    EntityReference reassignPrincipal
static void SetBusinessSystemUser(
    OrganizationServiceContext^ context,
    Guid userId,
    Guid businessId,
    EntityReference^ reassignPrincipal
static member SetBusinessSystemUser : 
        context:OrganizationServiceContext *
        userId:Guid *
        businessId:Guid *
        reassignPrincipal:EntityReference -> unit
Public Shared Sub SetBusinessSystemUser (
    context As OrganizationServiceContext,
    userId As Guid,
    businessId As Guid,
    reassignPrincipal As EntityReference



This is a method wrapper for the SetBusinessSystemUserRequest and SetBusinessSystemUserResponse classes. See the documentation in the Request class for more information about this message.

See Also

OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright