• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Edit
Show / Hide Table of Contents

findCustomerFromEmail

Some tooltip text!
• 1 minute to read
 • 1 minute to read

Description

Caution

Deprecated: use findCustomers() instead.

In parameters

Parameter Description
username The username of a SuperOffice administrator
password The password of a SuperOffice administrator
custEmail The email address of the customer to find

Out parameters

Parameter Description
errorCode See list of codes
custUsername The username of the customer if found

Example

ticket.ticketService ticketService = new ticket.ticketService();
string custUsername;
string errorCode = ticketService.findCustomerFromEmail("myUser", "myPwd", "customer@domain.com", out custUsername);

if (errorCode.Equals("0"))
  cout << custUsername; // Here we have the username
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top