Следуя советам поиск заменил на
Код:
QueryByAttribute QBY = newQueryByAttribute();
QBY.EntityName = "systemuser";
QBY.ColumnSet = newColumnSet(newstring[] { "systemuserid","fullname" });
QBY.Attributes = newstring[] { "title" };
QBY.Values = newstring[] { " call-" };
BusinessEntityCollection BEC = null;
try
{
BEC = CrmService.RetrieveMultiple(QBY);
}
catch (System.Web.Services.Protocols.SoapException ex)
{
thrownewInvalidPluginExecutionException(" (plug-in Opps_price): " + ex.Message.ToString());
}
string FN="";
foreach (systemuser tDE in BEC.BusinessEntities)
{
FN += (tDE.systemuserid + "=" + tDE.fullname + "\n");
}
thrownewInvalidPluginExecutionException(FN);