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"]); }
↧