you can use the below query in your plugin to retrieve the cases of the current user if you want to retrieve cases 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"]); }
↧