This handler will use the server information and user credentials configured in the task info values to authenticate and connect to the specified Active Directory server (using LDAP) and create a user entry.
In order to build up the Distinguished Name (a unique identifier for the active directory user entry), the handler uses a template specified as a task info value.
The following entry attributes are set once the user entry is created:
givenname => First Name
sn => Last Name
displayname => Full Name
description => Description
physicaldeliveryofficename => Office
telephonenumber => Telephone
mail => Email
title => Title
department => Department
company => Company
userprincipalname => Is set the the "User Logon" parameter if it was provided using the User Principal Name format. This attribute is not set if the "User Logon" parameter was provided without the "@domain" suffix.
samaccountname => Is set to the username portion of the "User Logon" parameter.
initials => A concatenated string of the capitalized first letters of each word in the "Full Name" parameter.
If the node parameter "Activated" is set to 'Yes', the user will be activated immediately after the entry attributes have been set.
|User Logon||The user's logon id. This value should be specified as a User Principal Name (UPN) using the format 'firstname.lastname@example.org'. By convention, the User Logon is typically set to the same value as the user's email addresses. In older Active Directory implementations, the domain may be omitted and the User Logon may be provided using the format 'username'.|
|First Name||The first name of the user.|
|Last Name||The last name of the user.|
|Full Name||The full name of the user. In most Active Directory implementations, this value must be unique.|
|Description||The description of the user. This value is displayed within the Active Directory user list and is often used to describe the role or purpose of a user account.|
|Office||A string representing the location of the user's office. This could be a building name or number, floor, room or cube number, or any combination of values.|
|Telephone||The primary telephone number of the user.|
|The email address of the user.|
|Title||The user's job title.|
|Department||The primary department that the user is a member of.|
|Company||The name of the company that the user is employed by.|
|Activated||Indicates whether or not the the user's account should be activated upon creation.|
|User Logon||<%=@results['First Name']%>.<%=@results['Last Name']%>@domain.com|
|First Name||<%=@results['First Name']%>|
|Last Name||<%=@results['Last Name']%>|
|Full Name||<%=@results['Full Name']%>|
|Distinguished Name||The distinguished name of the user entry that was created. For example: CN=Daniel R Thompson,CN=Users,DC=kineticdata,DC=com|
Active Directory User Create V1 (2011-01-14)