Quantcast
Channel: Microsoft Dynamics CRM
Viewing all articles
Browse latest Browse all 71679

Forum Post: RE: Query which returns all the Opportunities and Cases for a user

$
0
0
Hi James, you can use the below query in your plugin to retrieve the opportunities of the current user if you want to retrieve opportunities for the specific user then replace the below condition : with pass the guid of the user in above string fetchXml = @" "; EntityCollection result = _serviceProxy.RetrieveMultiple(new FetchExpression(fetchXml)); foreach (var c in result.Entities) { System.Console.WriteLine(c.Attributes["name"]); }

Viewing all articles
Browse latest Browse all 71679

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>