Next Topic

Previous Topic

Book Contents

createDomainUser()

Adds a new user to an Active Directory domain when run on a domain controller. Enter a domain user name to create, then a password that meets the domain's complexity requirements for user accounts, then select the domain group the user will be added to, either Domain Users or Domain Admins.

Operating systems supported: Windows

Example

createDomainUser("#username#", "******", "Domain Users", "All Operating Systems", "Halt on Fail")