This activity allows creating user in Active Directory.
Activity creates user in Active Direcotry and initializes sAMAccountName, userPrincipalName, sn, givenName, displayName, userAccountControl properties. You can set additional properties via “Set user’s custom attribute in Active Directory” activity.
AD Property Name | Value |
sAMAccountName | Login property value without domain. userlogin@yourdomain.local |
userPrincipalName | Login property value. userlogin@yourdomain.local |
sn | LastName property value. |
givenName | FirstName property value. |
displayName | Auto. “[FirstName] [LastName]“ |
userAccountControl | ADS_UF_NORMAL_ACCOUNT| ADS_UF_DONT_EXPIRE_PASSWD |
By default, activity uses the current user when authenticating. If you want to use custom
authentication, use “Set Active Directory authentication” activity before.
SharePoint Workflow Designer Phrase
Create in this path, new user with logon name this logon name, first name this first name, last name this last name and password this password.
Parameters
Parameter | Description |
this path | Correct LDAP path to folder. Ex: “OU=TestOU,DC=yourdomain,DC=local”.Use Active Directory Explorer (http://technet.microsoft.com/en- us/sysinternals/bb963907.aspx) to get correct path. |
this logon name | User login name with domain. Ex: userlogin@yourdomain.local,yourdomain\userlogin |
this first name | First name |
this last name | Last name |
this password | Optional. User password |