Skip to main content

NIM

Step 13: Add a user create action (tutorial)

In this step, we'll add a button to the name_generation form that launches an AD create user action.

  1. Drag and drop a Button beneath the name-value list, and set its properties as follows:

    2023-10-18_14-12-50.jpg
    • alignment: right

    • button style: success

    • button text: Create User

    • margin trbl: __3_

  2. With the button still selected, go to the Actions tab and add an action.

    1. In the Form Action dialog box, set the following options:

      2023-10-17_15-06-30.jpg
      • Action Type: Target System Function Execution

      • Description: Create AD User for {new_FirstName} {new_LastName}

      • System: AD

      • Function: UserCreate

    2. For the Input mappings, set the following:

      2023-10-18_14-15-59.jpg

      Name

      Value Source

      Constant Value / Variable

      cn

      variable

      ng_cn

      path

      constant

      <your user OU path>

      accountPassword

      constant

      Tools4ever.Goes.4.The.Win

      employeeID

      none

      (blank)

      Enabled

      constant

      true

      givenName

      variable

      new_FirstName

      sAMAccountName

      variable

      ng_sAMAccountName

      sn

      variable

      new_LastName

      userPrincipalName

      variable

      ng_userPrincipalName

    3. Click Save.

      2023-10-26_14-26-31.jpg
  3. We'll click Save to save our progress so far.

Next: Step 14: Capture the account GUID