CrmServiceClient.AssignEntityToUser Method (Guid, String, Guid, Guid)
Applies To: Dynamics CRM 2015
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:
bool AssignEntityToUser(
Guid userId,
String^ entityName,
Guid entityId,
Guid batchId = null
)
member AssignEntityToUser :
userId:Guid *
entityName:string *
entityId:Guid *
batchId:Guid = null -> bool
Public Function AssignEntityToUser (
userId As Guid,
entityName As String,
entityId As Guid,
batchId As Guid
) As Boolean
Parameters
userId
Type: System.GuidUser ID to assign too
entityName
Type: System.StringTarget entity Name
entityId
Type: System.GuidTarget entity id
batchId
Type: System.GuidBatch ID of to use, Optional
Return Value
Type: System.Boolean
See Also
CrmServiceClient Class
Microsoft.Xrm.Tooling.Connector Namespace
Return to top
© 2016 Microsoft. All rights reserved. Copyright