Skip to main content

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: - 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.
  3. In the Form Action dialog box, set the following options: - Action Type: Target System Function Execution - Description: Create AD User for {new_FirstName} {new_LastName} - System: AD - Function: UserCreate
  4. For the Input mappings, set the following: | 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 |
  5. Click Save.
  6. We'll click Save to save our progress so far.

Next: Step 14: Capture the account GUID