Represents the company account to which the current application belongs at runtime.
Retrieves a secure token defined for the company account.
var token = company.getSecureToken("AdWordsDeveloperToken");
var service = new Springbase.Integration.AdWords.AdWordsService();
service.developerToken = token;
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.
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."
});