Springbase Developer Center

  • skip to content

Site Tools

  • Media Manager
  • Login
You are here: Springbase Developer Center•Springbase API Reference•Company

Home

Videos

Tutorial Videos

Developer Guide

Cookbook
Controls

Reference

API Reference



API Reference Topics...

  • Application
  • ButtonControl
  • ChartControl
  • CheckBoxControl
  • Company
  • Console
  • Database
  • DateFieldControl
  • DateTime
  • DropDownListControl
  • Event
  • FileControl
  • FTPClient
  • GridControl
  • LabelControl
  • LinkControl
  • ListBoxControl
  • Page
  • PageSection
  • Query
  • RectangleControl
  • Report
  • SecureToken
  • Session
  • SplitViewControl
  • SubPageControl
  • Table
  • TabPanelControl
  • TempTable
  • TextBoxControl
  • TimerControl
  • User

Company

Company

Represents the company account to which the current application belongs at runtime.

methods

getSecureToken

Retrieves a secure token defined for the company account.

Example

var token = company.getSecureToken("AdWordsDeveloperToken");
var service = new Springbase.Integration.AdWords.AdWordsService();
service.developerToken = token;

addUser

Add a user to the company's Springbase account. NOTE: This may result in additional charges if the company is on a per-user pricing plan.

By default, the generic Springbase welcome email with password and login information will be sent to the specified email address. To disable the email, set sendEmail to false. To customize the email, specify the emailSubject and emailBody properties.

Example

company.addUser({
  email: "joe@example.com",
  firstName: "Joe",
  lastName: "User",
  developer: false,
  sendEmail: true,
  emailSubject: "Welcome to the AmazingWidgetsCo application!",
  emailBody: "Email body goes here."
});

removeUser

Remove a user from the company's Springbase account.


CC Attribution-Share Alike 3.0 Unported Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported