Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
public void DoRequest(IOrganizationService service)
var request = new OrganizationRequest("ResolveEmailAddress");
request.Parameters["EmailAddresses"] = "";
request.Parameters["ObjectTypeCodes"] = new int[] { 1, 2 };
var response = service.Execute(request);
if (response.Results.Contains("Entities"))
var result = (EntityCollection)response.Results["Entities"];
//go nuts with the result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment