clsSetAdminPassword Step

Last published at: January 3rd, 2023

Description:

Sets the admin password for the tenant.  

Inputs

  • Tnconnection – Tenant manager connection string
  • Tnnameid – Tenant/Host Name or ID
  • Adminuser – Administrative user
  • Newpass – New password to set

Returns

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

Usage:

Example:

Let’s build and execute the SetAdminPasswordDef example.  

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

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