Add a user create action
App tutorial · Step 13 of 25
Build a three-form app that creates an Active Directory user and manages its group memberships.
In this step, we'll add a button to the name_generation form that launches an AD create user action.
-
Drag a Button beneath the name-value list and configure it:
Property Value Alignment Right Button style Success Button text Create User Margin TRBL __3_ -
With the button still selected, go to the Actions tab and add an action.
-
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
-
Configure these Input mappings:
Name Value source Constant value or variable cnVariable ng_cnpathConstant Your user OU path accountPasswordConstant Tools4ever.Goes.4.The.WinemployeeIDNone (blank) EnabledConstant truegivenNameVariable new_FirstNamesAMAccountNameVariable ng_sAMAccountNamesnVariable new_LastNameuserPrincipalNameVariable ng_userPrincipalName -
Click Save.
-
We'll click Save to save our progress so far.