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

Get user info

•
Version: 10
Some tooltip text!
• 1 minute to read
 • 1 minute to read

Bool load(Integer id)

Brings up the user with the given ID. This is always the 1st step when you want to do anything with an existing user.

User u;
u.load(9);

Bool loadFromAgentAndKey(Integer id, String Key)

Brings up the user that is owned by the agent and matches the external key.

Caution

loadFromAgentAndKey() might overwrite existing values!

String getValue(String colName)

Fetches the value from a named field. Look up names in the reference section down below.

User u;
u.load(8);
printLine(u.getValue("firstname"));
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top