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

 

Updated: November 29, 2016

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)

Public Function AssignEntityToUser (
	userId As Guid,
	entityName As String,
	entityId As Guid,
	batchId As Guid
) As Boolean

Parameters

userId
Type: System.Guid

User ID to assign too

entityName
Type: System.String

Target entity Name

entityId
Type: System.Guid

Target entity id

batchId
Type: System.Guid

Batch ID of to use, Optional

Return Value

Type: System.Boolean
Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: