clsCreateNewUserForTenant Step

Last published at: May 14th, 2024

Description:

Create a new user for the tenant.  

Inputs

  • Tnconnection – Tenant manager connection string
  • tnid – Tenant Id 
  • username – User name
  • fullname – User full name
  • email – Email
  • password - Password
  • IsAdmin - Is Admin
  • userid – Variable or Global to store the User-ID

Returns

  • True – step executed successfully
  • False – step failed to execute

Usage:

Example:

Let’s build and execute the CreateNewUserForTenantDef example. 

  • Create a new definition called “CreateNewUserForTenantDef”
  • Select the definition and click the “design” button
  • Drag a “clscreateNewUserForTenant” step to the canvas
  • Connect the dots between the start and “clscreateNewUserForTenant” step
  • Click on the “clscreateNewUserForTenant” step to configure its properties
  • Configure the following values for the properties as shown on the below graphic

  • Save the process definition, create a process instance and execute. The process step should create a new user for the tenant as configured.