Udostępnij za pośrednictwem


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

Definition

Assign an Entity to the specified user ID

public bool AssignEntityToUser (Guid userId, string entityName, Guid entityId, Guid batchId = default);
member this.AssignEntityToUser : Guid * string * Guid * Guid -> bool
Public Function AssignEntityToUser (userId As Guid, entityName As String, entityId As Guid, Optional batchId As Guid = Nothing) As Boolean

Parameters

userId
Guid

User ID to assign too

entityName
String

Target entity Name

entityId
Guid

Target entity id

batchId
Guid

Batch ID of to use, Optional

Returns

Applies to