• View Communities
    • Citrix Developer Network
      The place for unfiltered straight talk on Citrix products. Blogs, code downloads, best practices, APIs, and more can all be found here.
    • Citrix Ready Community Verified
      Does it work with Citrix? Application compatibility questions are a thing of the past with the new Citrix Community Verified site.
    • Blogs
      Learn the latest from the Citrix employees who are building application delivery infrastructure technologies.
    • Blogosphere
      The Citrix Blogosphere is a window into the thousands of conversations taking place about Citrix and Application Delivery.
  •  Sign In
Workflow Studio Developer Network

CreateUser

CreateUser

Creates a new Active Directory user account.

Properties

FirstName
Type: System.String
Specifies the first name of the user. Used to generate the CN and Display name (with the 'Initials' and 'Last Name') and the UPN name (the first character of 'First Name' and the full 'Last Name').

Initials
Type: System.String
Specifies the middle initial(s) of the user. Used to generate the CN and Display name (with the 'First Name' and 'Last Name').

LastName
Type: System.String
Specifies the last name of the user. Used to generate the CN and Display name (with the 'First Name' and 'Initials') and the UPN name (the first character of 'First Name' and the full 'Last Name').

CNName
Type: System.String
Generated Active Directory common name (CN) of the user.

DisplayName
Type: System.String
Generated Active Directory Display name of the user.

UPNName
Type: System.String
Generated Active Directory UPN name (User logon name) of the user.

SAMName
Type: System.String
Generated Active Directory sAMAccountName (User logon name) of the user to support pre-Windows 2000 clients and servers.

TargetOU
Type: System.String
Specifies the LDAP path to the Active Directory container where the user will be created. For example, LDAP://CN=Users,DN=company,DN=com.

EnableAccount
Type: System.Object
Specifies whether to enable (True) or disable (False) the new user account. You can also bind this parameter to a conditional.

Password
Type: System.Object
Specifies the domain password for the user. You can enter the password or supply it by binding to the output of the 'Create Random Password' activity.

SetUMCPNL
Type: System.Object
Specifies whether to set (True) or clear (False) the 'User Must Change Password at Next Logon' option for this user account. You can also bind this parameter to a conditional.

SetUCCP
Type: System.Object
Specifies whether to set (True) or clear (False) the 'User Cannot Change Password' option for this user account. You can also bind this parameter to a conditional.

SetPNE
Type: System.Object
Specifies whether to set (True) or clear (False) the 'Password Never Expires' option for this user account. You can also bind this parameter to a conditional.

OutputUser
Type: Citrix.WorkflowStudio.ActivityLibrary.ActiveDirectory.DirectoryObject
Contains the .Net DirectoryEntry object for the user created. This is a read-only output parameter.

Enter tags to add to this page:
Please wait 
Looking for a tag? Just start typing.
Related Links