Forum Post: RE: Create a customer tenant using trigger

  • Thread starter Thread starter makumar
  • Start date Start date
Status
Not open for further replies.
M

makumar

Guest
Hi, You can perform this action using the createCustomer() method. This starts the process of creating a new customer tenant. A welcome email containing a temporary password is sent to the first administrative user when the process is complete. If the password field is included in the list of fields, as in the example below, its value is used as the password for the first administrative user. In this case, the system does not send the welcome email to first administrative user and the password will not expire after the first log in. Specific Example DataField[] arr = new DataField[7]; arr[0] = getField("companyName", "API Test"); arr[1] = getField("email", "myemail@mycompany.com"); arr[2] = getField("lastName", "Admin"); arr[3] = getField("loginName", "myemail@mycompany.com"); arr[4] = getField("timeZone", "Pacific/Guam"); arr[5] = getField("mailSender", "noreply@mycompany.com"); arr[6] = getField("password", "my_password"); binding.createCustomer(sessionId, new DataFieldArr(arr), true); Please refer the documentation url related to this method for more info: http://documentation.progress.com/output/Rollbase/index.html#page/rb/Rollbase.752.html Hope this helps. Regards, Mani.

Continue reading...
 
Status
Not open for further replies.
Back
Top