Поделиться через


CrmServiceClient.AssignEntityToUser Method (Guid, String, Guid, Guid)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Assign an Entity to the specified user ID

Namespace:   Microsoft.Xrm.Tooling.Connector
Assembly:  Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)

Syntax

public bool AssignEntityToUser(
    Guid userId,
    string entityName,
    Guid entityId,
    Guid batchId = null
)
Public Function AssignEntityToUser (
    userId As Guid,
    entityName As String,
    entityId As Guid,
    batchId As Guid
) As Boolean

Parameters

  • batchId
    Type: System.Guid

    Batch ID of to use, Optional

Return Value

Type: System.Boolean

See Also

CrmServiceClient Class
Microsoft.Xrm.Tooling.Connector Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright