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

sendPassword

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

Description

This method will send the username and password to the given email address (if it exists). The actual text sent is configured in SuperOffice (Settings->System).

In parameters

Parameter Description
emailCode The email address of the customer to send the password

Out parameters

Parameter Description
errorCode See list of codes

Example

customer.customerService custService = new customer.customerService();
string errorCode = custService.login("johndoe","pw",out sessionKey);

if(errorCode.Equals("0"))
{
  string ret = custService.sendPassword("test@mycompany.com");
}
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top