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

loginAsCustomer

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

Description

This method is used to log in a customer, but instead of using the customer's password, you use your SuperOffice username and password for verification.

In parameters

Parameter Description
username Your SuperOffice username
password Your SuperOffice password
customerUsername The username of the customer

Out parameters

Parameter Description
errorCode 0 = successful login, 1 = incorrect login
sessionKey The generated session key

Example

customer.customerService custService = new customer.custmerService();
string sessionKey;

string ret = custService.loginAsCustomer("john", "pw", "johndoe", out sessionKey);
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top