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

login

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

Description

Authenticates a user and returns a valid session key if successful.

In parameters

Parameter Description
userName A user's valid name
password A user's valid password

Out parameters

Parameter Description
errorCode See list of codes
sessionKey

Example

ticket.ticketService ticketService = new ticket.ticketService();
string sessionKey;
string errorCode = ticketService.login("egon", "norges bank", out sessionKey);

if (errorCode.Equals("0"))
{
  cout << "hurray!" << endl;
}
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top