|
AD.Account.Create
|
|
| Full AD path to container in which to create account
|
| Common name of account to create
|
| SamAccountName of account to create, maximum length is 20 characters
|
|
|
| The cryptic error message "A device attached to the system is not functioning (#30)" means that there are too many characters in the SamAccountName.
|
|
|
| Most examples sets CN and SamAccountName to the same value -> both must be <= 20 characters.
|
| Password of account to create
|
| New account default values (use AD.Account.SetProperty to change)
|
| · | Account disabled = Yes
|
| · | Account never expires = Yes
|
| · | Group = Domain user
|
| · | Password never expires = No
|
| · | User cannot change password = No
|
| · | User must change password = Yes
|
| · | All other properties empty
|