CrmServiceClient.AssignEntityToUser(Guid, String, Guid, Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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