Create Active Directory User Action

Description

Creates a new user at the specified Active Directory location.

Declaration

<CREATEADUSER LDAPPATH="text" USER="text" EMAIL="text" FIRSTNAME="text" LASTNAME="text" NEWPASSWORD="text" MUSTCHANGEPASSWORD="text [options]" USERNAME="text" PASSWORD="text"/>

Example

<CREATEADUSER LDAPPATH="LDAP://servtest.com" USERNAME="administrator" PASSWORD="password" USER="Harry" EMAIL="AD@networkautomation.com" FIRSTNAME="Harry" LASTNAME="Black" NEWPASSWORD="password" MUSTCHANGEPASSWORD="YES" />

General Tab Parameters

Parent path: Allows you to enter the LDAP path of the parent active directory container. Usually the top most container or rootdse path.

Text, Required
MARKUP: LDAPPATH="LDAP://DC=networkautomation,DC=com"

  • Click Select Container to select the parent container from the domain. You can also select objects like user, computer, group, contacts by clicking select objects.   

User Name: Allows you to enter the user name of the new user.

Text, Required
MARKUP: USER="Mike"

Email: Allows you to enter the email name of the new user.

Text, Required
MARKUP: EMAIL="mike@netauto.com"

First name: Allows you to enter the first name of the new user.

Text, Required
MARKUP: FIRSTNAME="Mark"

Last name: Allows you to provide the last name of the new user.

Text, Required
MARKUP: LASTNAME="Black"

Password: Allows you to provide the password of new active directory user.

Text, Required
MARKUP: NEWPASSWORD="password"

User must change password at next login: If set to Yes, specifies that user must change his/her password at next login. If set to No, user does not have to change his/her password at next login.

Text [options], Optional - Default "No"
MARKUP: MUSTCHANGEPASSWORD="YES"

Credentials Tab

Username:  Allows you to enter the name of the active directory user.

Text, Optional
MARKUP: USERNAME="username"

Password:  Allows you to enter the password of the active directory user.

Text, Optional
MARKUP: PASSWORD="password"

Note: Leave these fields blank if you want to use current user's credentials. If you are trying to access the active directory information, then any Domain user is valid but in order to modify the user or group you need Domain Administrator. We recommend using domain administrator for all the active directory actions. Refer to the following link for more information:

http://en.wikipedia.org/wiki/Lightweight_Directory_Access_Protocol

See Also

Create Active Directory Object, Create Active Directory Object